[wp-trac] [WordPress Trac] #24730: Introduce a timezone-retrieval method
WordPress Trac
noreply at wordpress.org
Thu Jun 28 08:36:51 UTC 2018
#24730: Introduce a timezone-retrieval method
-------------------------+------------------------------
Reporter: rmccue | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Comment (by Rarst):
I am very hopeful about this one now, if we have combined timezone
retrieval then awful lot of offset math code can be upgraded to DateTime.
Will work on writing unit tests for this.
PS I would prefer `wp_timezone()` for name, since I am working on
`wp_date()` to replace `date_i18n()` (ticket pending, getting there).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24730#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list