[wp-trac] [WordPress Trac] #48589: Make use of wp_date instead of date_i18n on Twentytwnety
WordPress Trac
noreply at wordpress.org
Wed Nov 13 06:19:22 UTC 2019
#48589: Make use of wp_date instead of date_i18n on Twentytwnety
----------------------------+-----------------------------
Reporter: sachyya sachet | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.3
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
As per the new update, it is not recommended to localize time based on WP
timestamp: {{{date_i18n( DATE_RFC3339, $timestamp + $offset )}}}
Rather use new {{{wp_date}}} based on Unix timestamp on Twentytwnety theme
{{{footer.php L23}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48589>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list