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

WordPress Trac noreply at wordpress.org
Tue Mar 28 11:11:53 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):

 A note from @SergeyBiryukov he made in comment:14:ticket:57035:
 >Interesting, I made a note recently in comment:4:ticket:57030 that
 `gmt_offset` can be a `float`, but somehow completely forgot about that
 here. Good catch!

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


More information about the wp-trac mailing list