0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-11-05 14:13:22 +01:00

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

View File

@ -44,7 +44,7 @@ end
local function log(level, module, msg, verboseFmt) local function log(level, module, msg, verboseFmt)
if level <= logLevel then 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 i = debug.getinfo(3) --the stack frame just above the logger call
local v = verboseFmt local v = verboseFmt
if v == nil then v = logVerboseFmt end if v == nil then v = logVerboseFmt end