diff --git a/inc/settings.php b/inc/settings.php index 0d9c37a..b3bbd07 100644 --- a/inc/settings.php +++ b/inc/settings.php @@ -128,12 +128,12 @@ final class Settings { $fail = true; } - $test = strftime("%F %H:%M:%S", 0); - if ($test !== "1970-01-01 00:00:00") { + $test = strftime("%Y-%m-%d %H:%M", 0); + if ($test !== "1970-01-01 00:00") { ob_start(); var_dump($test); $testdump = ob_get_clean(); - echo("Assertion failed: strftime(\"%F %T\",0) != \"1970-01-01 00:00:00\"
"); + echo("Assertion failed: strftime(\"%Y-%m-%d %H:%M\",0) != \"1970-01-01 00:00:00\"
"); echo("Actual result: " . $testdump); $fail = true; }