WordPress / twentytwenty

Twenty Twenty is included in Core as of WordPress 5.3 🎉 To report any issues, please go here: https://core.trac.wordpress.org/newticket
Other
300 stars 138 forks source link

Make use of wp_date instead of date_i18n on Twentytwnety #1013

Closed sachyya closed 4 years ago

sachyya commented 4 years ago

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

nielslange commented 4 years ago

From this point on any new issues should be opened on the core trac instead of at GitHub to save them needing to be transitioned over there manually at a later point.

Please prefix tickets with Twenty Twenty: so that they are easy to find over there.

https://core.trac.wordpress.org