Fix day/month order in firmware log timestamp.

This commit is contained in:
Wouter R 2016-03-23 17:08:29 +01:00
parent 8fb0eba9e6
commit 35bbac596b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ end
local function log(level, module, msg, verboseFmt)
if level <= logLevel then
local now = os.date('%m-%d %H:%M:%S')
local now = os.date('%d-%m %H:%M:%S')
local i = debug.getinfo(3) --the stack frame just above the logger call
local v = verboseFmt
if v == nil then v = logVerboseFmt end