微调log文件和录像文件中的日期格式

This commit is contained in:
MrZ626
2021-03-18 13:02:56 +08:00
parent 5f633efa59
commit f74a421f64
2 changed files with 2 additions and 2 deletions

View File

@@ -376,7 +376,7 @@ function love.errorhandler(msg)
--Write messages to log file
love.filesystem.append("conf/error.log",
os.date("%Y/%m/%d_%A_%H:%M:%S\n")..
os.date("%Y/%m/%d %A %H:%M:%S\n")..
#ERRDATA.." crash(es) "..SYSTEM.."-"..VERSION_NAME.." scene: "..(SCN and SCN.cur or"NULL").."\n"..
errMes.."\n\n"
)

View File

@@ -957,7 +957,7 @@ do--function saveRecording()
--File contents
local fileName="replay/"..os.date("%Y_%m_%d_%a_%H%M%S.rep")
local fileHead=
os.date("%Y/%m/%d_%A_%H:%M:%S\n")..
os.date("%Y/%m/%d %A %H:%M:%S\n")..
GAME.curModeName.."\n"..
VERSION_NAME.."\n"..
(USER.name or"Player")