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
master
sfan5 2021-04-23 18:42:59 -04:00 committed by Vanessa Dannenberg
parent e8afe017da
commit 4e3493a981
1 changed files with 1 additions and 1 deletions

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