Date/Time: Add unit tests for the human_time_diff function.

Verify that `human_time_diff` works as expected for minute, hour and day intervals. Test that rounding works as expected when the time difference is near the rounding margin.

Props SGr33n.
Fixes #38773.

Built from https://develop.svn.wordpress.org/trunk@41018


git-svn-id: http://core.svn.wordpress.org/trunk@40868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Adam Silverstein 2017-07-07 17:08:45 +00:00
parent 96ceffa552
commit f858551592

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41017';
$wp_version = '4.9-alpha-41018';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.