Changes between Version 4 and Version 5 of Ticket #49038, comment 3
- Timestamp:
- 12/19/2019 02:22:18 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49038, comment 3
v4 v5 3 3 4 4 From the general settings set in Europe/Rome, it returns a date 2020-03-29 00:00:00 because the offset sum is incorrect and in the case of daylight saving time it must be returned in UTC 2020-03-29 02:00:00. 5 This means that in wp_date there is a bug and wordpress should only create dates (inputs) in UTC while the display (output) in any DateTimeZone except valid DSTwhich can only be displayed in UTC.5 This means that in wp_date there is a bug and wordpress should only create dates (inputs) in UTC while the display (output) in any DateTimeZone except valid (DST from 2020-03-29 02:00:00 to 2020-03-29 02:59:59) which can only be displayed in UTC. 6 6 Only this is the correct way to use dates. 7 7 I hope it helps, I commented on the troubleshooting code in options-general.php.