7 Apr
2012
7 Apr
'12
8:30 p.m.
I noticed that Dancer gets its timestamps using localtime(). I prefer to have all my logs in UTC. Please can I suggest the following patch to Dancer::Logger::Abstract to provide an option for this? @@ -94,6 +94,7 @@ sub format_message { t => sub { Encode::decode(setting('charset') || 'utf8', POSIX::strftime( "%d/%b/%Y %H:%M:%S", localtime )) }, T => sub { POSIX::strftime( "%Y-%m-%d %H:%M:%S", localtime ) }, + U => sub { POSIX::strftime( "%Y-%m-%d %H:%M:%S", gmtime ) }, P => sub { $$ }, L => sub { $level }, D => sub { -- Alex