From 89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 29 Sep 2014 21:39:31 +0200 Subject: [PATCH] [ticket/13105] Fix the code logic as described in the comment PHPBB3-13105 --- tests/datetime/from_format_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/datetime/from_format_test.php b/tests/datetime/from_format_test.php index 0f87abc180..f10402e8cb 100644 --- a/tests/datetime/from_format_test.php +++ b/tests/datetime/from_format_test.php @@ -60,7 +60,7 @@ class phpbb_datetime_from_format_test extends phpbb_test_case // If the current time is too close to the testing time, // the relative time will use "x minutes ago" instead of "today ..." // So we use 18:01 in the morning and 06:01 in the afternoon. - $testing_time = date('H') <= 12 ? '06:01' : '18:01'; + $testing_time = date('H') <= 12 ? '18:01' : '06:01'; return array( array(