Wordpress/tests
Sergey Biryukov 5928234d05 Date/Time: Introduce get_post_datetime() to retrieve post published or modified time as a DateTimeImmutable object instance.
Introduce `get_post_timestamp()` to retrieve post published or modified time as a Unix timestamp.

Use `get_post_datetime()` in `get_post_time()` and `get_post_modified_time()` to return correct GMT time if default timezone is changed from UTC.

Props Rarst, johnregan3.
Fixes #25002.

git-svn-id: https://develop.svn.wordpress.org/trunk@46154 602fd350-edb4-49c9-b593-d223f7449a82
2019-09-17 11:13:25 +00:00
..
e2e Build Tools: Miscellaneous local-env improvements. 2019-08-12 08:28:33 +00:00
phpunit Date/Time: Introduce get_post_datetime() to retrieve post published or modified time as a DateTimeImmutable object instance. 2019-09-17 11:13:25 +00:00
qunit Update wp.a11y.speak() to sanitize HTML before display. 2019-09-04 17:11:22 +00:00