[wp-trac] [WordPress Trac] #49038: Timezone setting does not display correct time of next DST transition

WordPress Trac noreply at wordpress.org
Sun Dec 22 16:34:29 UTC 2019


#49038: Timezone setting does not display correct time of next DST transition
--------------------------+-----------------------
 Reporter:  autotutorial  |       Owner:  Rarst
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  5.3.3
Component:  Date/Time     |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by Rarst):

 > The bug has changed from the DateTime component to the logic structured
 in options-general.php.
 the syntax UTC, Etc/GMT or any other synonym that has an offset 0 is
 considered a manual offset and in this case a manual offset regardless of
 its value does not have a Daylight saving time

 I don't follow what do you consider a bug at this point. Please talk in
 specific examples of settings state, actual output, and output you think
 should be correct instead.

 Etc/GMT (and other deprecated zones) are not supported by core and cannot
 be selected in settings.

 Adding things to Unix timestamps - no, we are done doing that and
 `wp_date()` is written to work with real timestamps as is. I don't follow
 what output are you trying to achieve there.

 Memory thing doesn't seem relevant, this is one-off page execution and it
 hardly matters if we try to release small amount of memory early.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49038#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list