Andrey “Rarst” Savchenko details an exciting…

Andrey “Rarst” Savchenko details an exciting and long-awaited improvement to the Date/Time component in WordPress 5.3, which was made possible by raising the required PHP version for WordPress core to 5.6. ⌛

Andrey explains the Date/Time component previously relied on the “WordPress timestamp,” which caused many bugs and lacked “interoperability with upstream PHP or any external systems.” 🐛

It is “impossible” to remove WP timestamps without breaking backwards compatibility, so while their use in core is deprecated and documentation is improved, Andrey doesn't recommend retrieving or localizing time with the WP timestamp.

Similar Posts