mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13105] Fix the code logic as described in the comment
PHPBB3-13105
This commit is contained in:
parent
71ac6ab2b8
commit
89fdd1baf2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
// If the current time is too close to the testing time,
|
||||||
// the relative time will use "x minutes ago" instead of "today ..."
|
// 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.
|
// 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(
|
return array(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue