ARCANEDEV / LogViewer

:page_with_curl: Provides a log viewer for Laravel
MIT License
2.37k stars 335 forks source link

Time label - wrong regex #43

Closed balping closed 8 years ago

balping commented 8 years ago

Hi!

I have this line in my logfile:

[2016-01-25 08:57:54] local.INFO: Important event date set to 2016-01-17 15:00:00

However in log viewer in the daily view, the time column shows 15:00:00 instead of 08:57:54. It could be a regex problem I guess.

balping commented 8 years ago

Maybe a global flag should be added here?

https://github.com/ARCANEDEV/LogViewer/blob/0802fe7134f80bb48714499706f99fa7eb5c0c01/helpers.php#L61

arcanedev-maroc commented 8 years ago

Hi @balping, thanks for your feedback.

I'm going to check that because there is also the LogParser class beside the date helpers.

arcanedev-maroc commented 8 years ago

Try to update the arcanedev/log-viewer to >= 3.7.7 to see if the issue is fixed.

balping commented 8 years ago

:+1: