use %Y-%m-%d for the date instead of %F
strftime codes don't work in some Windows + LuaJIT setups, see:
https://sourceforge.net/p/mingw-w64/bugs/793/
fc63c938b5
This commit is contained in:
parent
e8afe017da
commit
4e3493a981
2
api.lua
2
api.lua
@ -51,7 +51,7 @@ end
|
||||
function biome_lib.dbg(msg, level)
|
||||
local l = tonumber(level) or 0
|
||||
if biome_lib.debug_log_level >= l then
|
||||
print(os.date("%F %H:%M:%S").." [Biome Lib]: "..msg)
|
||||
print(os.date("%Y-%m-%d %H:%M:%S").." [Biome Lib]: "..msg)
|
||||
minetest.log("verbose", "[Biome Lib]: "..msg)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user