1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2025-06-28 22:36:44 +02:00

1 Commits

Author SHA1 Message Date
4e3493a981 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
2021-04-23 18:45:40 -04:00

View File

@ -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