Log date/time format not handling 00 AM hour correctly.
|Reported by:||Pilskalns||Owned by:|
|Keywords:||Datetime, format, logging||Cc:|
|Component version:||Operating system type:||Windows|
|Operating system version:||Windows x64 (Server 2016, W10)|
FZS uses system local settings for loggin date/time format, but does not implement something correctly with 00-hour. It produces like "8/30/2017 0:01:10 AM", which is not correct date/time, there is no 00-hour in proper AM/PM time convention. Correct would be "8/30/2017 12:01:10 AM".
So, depending on system locale, changes also datetime format in logs. This fails automatic date/time parsing from them, though non-trivial workarounds possible.
I would suggest using some international 24hour format, like YYY-MM-DD HH:MM:SS, which would ease off a lot of confusions when transferring logs between systems and trying to parse them for statistics, last user activity etc.