From 4e3493a9812c690052ee319bf94983e95f57f0b6 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 23 Apr 2021 18:42:59 -0400 Subject: [PATCH] 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/ https://github.com/LuaJIT/LuaJIT/commit/fc63c938b522e147ea728b75f385728bf4a8fc35 --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index f505d78..d4ec661 100644 --- a/api.lua +++ b/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