Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Currently, the time format does not allow differentiate the AM/PM hou…

…rs since the format choosen is 12h and no AM/PM label is added to each log line. So, my suggestion is to convert to 24h format (using a H instead of h) to fix this issue.


More details, see PHP date function doc - http://php.net/manual/en/function.date.php
  • Loading branch information...
commit 889bcf74c050a4bbfc8ea49d235e9c4d895532e3 1 parent 2ccda56
@joaosantos81 joaosantos81 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dev/LogErrorFileFormatter.php
View
2  dev/LogErrorFileFormatter.php
@@ -35,7 +35,7 @@ public function format($event) {
$urlSuffix = " (http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI])";
}
- return '[' . date('d-M-Y h:i:s') . "] $errtype at $relfile line $errline: $errstr$urlSuffix" . PHP_EOL;
+ return '[' . date('d-M-Y H:i:s') . "] $errtype at $relfile line $errline: $errstr$urlSuffix" . PHP_EOL;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.