[wp-trac] [WordPress Trac] #38771: date_i18n() arguments are misleading in function and documentation
WordPress Trac
noreply at wordpress.org
Tue Jun 26 13:18:15 UTC 2018
#38771: date_i18n() arguments are misleading in function and documentation
----------------------------------------+-----------------------------
Reporter: Rarst | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.0
Component: Date/Time | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"43380" 43380]:
{{{
#!CommitTicketReference repository="" revision="43380"
Docs: Improve documentation for `date_i18n()`'s second argument.
Despite previously being labeled as a Unix timestamp, in reality it's a
sum of Unix timestamp and timezone offset in seconds.
Props Rarst.
See #38771.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38771#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list