summaryrefslogtreecommitdiff
path: root/server-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-22 15:04:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-22 15:04:15 +0800
commit7ff8068c23a02f9faf45ad34d9385b1dfda4d987 (patch)
tree06f6a3199872199776699e2540da3d45715ce99b /server-beta
parent7e10ca9e3f60c5a108ee3d9bccf9c42da3d74c02 (diff)
downloadlua-language-server-7ff8068c23a02f9faf45ad34d9385b1dfda4d987.zip
把log上的日期去掉
Diffstat (limited to 'server-beta')
-rw-r--r--server-beta/src/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/log.lua b/server-beta/src/log.lua
index e10bb7a2..1a66685a 100644
--- a/server-beta/src/log.lua
+++ b/server-beta/src/log.lua
@@ -92,7 +92,7 @@ function m.raw(thd, level, msg, source, currentline)
return
end
local sec, ms = mathModf(m.startTime + osClock())
- local timestr = osDate('%Y-%m-%d %H:%M:%S', sec)
+ local timestr = osDate('%H:%M:%S', sec)
local agl = ''
if #level < 5 then
agl = (' '):rep(5 - #level)