aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-29 21:39:31 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-29 21:39:31 +0200
commit89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470 (patch)
tree7b7ad7c3eeb5f5ceee659b91947a3072240cb008 /tests
parent71ac6ab2b87ec1d606d5669b930ac4c7164e9b11 (diff)
downloadforums-89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470.tar
forums-89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470.tar.gz
forums-89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470.tar.bz2
forums-89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470.tar.xz
forums-89fdd1baf2034d2cc52e7f8c3aff3d097ad9c470.zip
[ticket/13105] Fix the code logic as described in the comment
PHPBB3-13105
Diffstat (limited to 'tests')
-rw-r--r--tests/datetime/from_format_test.php2
1 files changed, 1 insertions, 1 deletions
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(