[wp-trac] [WordPress Trac] #57998: current_time function: GMT offset is not always an integer

WordPress Trac noreply at wordpress.org
Tue Mar 28 12:28:57 UTC 2023


#57998: current_time function: GMT offset is not always an integer
------------------------------------------+-----------------------
 Reporter:  reputeinfosystems             |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  normal                        |   Milestone:  6.2.1
Component:  Date/Time                     |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------

Comment (by hellofromTonya):

 Thank you @Rarst and @reputeinfosystems for sharing these additional
 impacts. I agree that these are more significant than original thought as
 they can impact bookings, date permalinks, and potentially stores. Though
 the regression affects [https://www.timeanddate.com/time/time-zones-
 interesting.html partial-hour timezones], these timezones include India,
 Australia, Sri Lanka, and more.

 [https://wordpress.slack.com/archives/C02RQBWTW/p1680004419127649
 Currently discussing whether to revert for 6.2.0 or fix in 6.2.1 in
 Make/Core slack].

 Also here's the regression in action along with a possible fix
 https://3v4l.org/tgP8m.

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


More information about the wp-trac mailing list