[wp-trac] [WordPress Trac] #34435: get_gmt_from_date() returns incorrect value when 'timezone_tz' is 'Europe/London'

WordPress Trac noreply at wordpress.org
Sun Oct 25 01:07:04 UTC 2015


#34435: get_gmt_from_date() returns incorrect value when 'timezone_tz' is
'Europe/London'
-----------------------------+------------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Date/Time        |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by danielbachhuber):

 Oh. London apparently falls back on the last Sunday of October (e.g. today
 in `Europe/London`).

 I have no idea what this bug actually is, but apparently
 `get_gmt_from_date()` produces a different value than `gmdate()` in a
 maybe twice per year edge case.

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


More information about the wp-trac mailing list