[wp-trac] [WordPress Trac] #48650: Clarify function descriptions for get_gmt_from_date() and get_date_from_gmt()
WordPress Trac
noreply at wordpress.org
Fri Nov 15 06:30:22 UTC 2019
#48650: Clarify function descriptions for get_gmt_from_date() and
get_date_from_gmt()
--------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.4
Component: Date/Time | Version: 1.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by Rarst):
Looks good, one small thing is that I've been trying to move towards
saying UTC, rather than GMT time zone in documentation.
While colloquially these are synonyms, speaking technically GMT is a
different historical thing and what we actually use and operate with on
PHP level is UTC.
I leave existing `gmt` in code and we have it hardwired into API and
database schema, but on documentation level I feel UTC is more appropriate
to describe what is going on.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48650#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list