Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #49038, comment 19


Ignore:
Timestamp:
12/22/2019 05:43:16 PM (5 years ago)
Author:
autotutorial
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49038, comment 19

    v1 v2  
    11forget any Dayligth saving time or Standard time in context for output.
    22In the past they tried to calculate the difference (wrongly), now if you always use an explicit timezone in DateTime all the data is safe.
    3 If you calculate the timestamp offset (always UTC) and do the arithmetic operation you can create with UTC timezone and display in the correct way (even in the past it was like that, but with your help wp_date and UTC defined there is no margin of error)
     3If you calculate the timestamp offset (always UTC) and do the arithmetic operation you can create with UTC timezone and display in the correct way (even in the past it was like that, but with your help wp_date and UTC defined there is no margin of error).
     4Have you seen the bug if you select UTC?