[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 02:30:55 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):

 After talking this through time and time again, @viper007bond and I feel
 reasonably confident that DST should be abolished.

 The bug is most likely that 1:23 am occurs twice in London on 2015-10-25.
 `DateTime` doesn't know how to distinguish between them when doing
 relative time conversions so it assumes the later one. It could pick the
 correct one if it knew the UTC time.

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


More information about the wp-trac mailing list