Changes between Initial Version and Version 1 of Ticket #57683, comment 20
- Timestamp:
- 03/09/2023 01:05:04 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57683, comment 20
initial v1 14 14 15 15 Given that context I see the options worked out so far are following: 16 1. Use a DateTime object as is(we can halve the instances, by not calling mysql2date twice).16 1. Use a DateTime object with a correct time zone (we can halve the instances, by not calling mysql2date twice). 17 17 2. Use a DateTime object and cache a time zone information to reuse. In my experience bespoke caches increase complexity and decrease testability. 18 18 3. Do not use a DateTime object. Given the specific input and outputs in this case we can do that with a bit of string manipulation.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)