1
0
镜像自地址 https://github.com/mt-mods/biome_lib.git 已同步 2026-01-09 18:45:58 +01:00

1 次代码提交

作者 SHA1 备注 提交日期
sfan5
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

查看文件

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