[wp-trac] [WordPress Trac] #44985: timezone_string should be valid when offset time zone mode is used

WordPress Trac noreply at wordpress.org
Mon Sep 24 15:24:01 UTC 2018


#44985: timezone_string should be valid when offset time zone mode is used
------------------------------------------+------------------------------
 Reporter:  Rarst                         |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Date/Time                     |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------------------

Comment (by Rarst):

 Replying to [comment:2 JPry]:

 We are not doing any mapping for this one. It is impossible to reliably
 inflate the data from less meaningful to more meaningful.

 I am merely talking about making `timezone_string` return `+NN:NN` format
 offsets on newer PHP versions, which can use that as valid input, just as
 any geographical timezone string.

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


More information about the wp-trac mailing list