Opened 2 years ago

Last modified 2 years ago

#11418 new Bug report

Log date/time format not handling 00 AM hour correctly.

Reported by: Pilskalns Owned by:
Priority: normal Component: FileZilla Server
Keywords: Datetime, format, logging Cc:
Component version: Operating system type: Windows
Operating system version: Windows x64 (Server 2016, W10)

Description

Hi,

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.

Change History (1)

comment:1 Changed 2 years ago by Pilskalns

Summary: Log date/time format not handly 00 AM hour correctly.Log date/time format not handling 00 AM hour correctly.
Note: See TracTickets for help on using tickets.