summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-10-29 07:26:34 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-10-29 07:26:39 +0100
commit1bffc1c923412efa9b45f370d771d1ebacbcbaef (patch)
tree37782fdc80d01b1c40d890fe7456b2e60f854baa /src
parent7fd7d54817edbf75ff4e0a574769a27a851a5240 (diff)
downloadluaotfload-1bffc1c923412efa9b45f370d771d1ebacbcbaef.tar.gz
[log] fix format strings passed to os.date()
In the name of MS compiler compatibility bow before the Middle Ages.
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-log.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luaotfload-log.lua b/src/luaotfload-log.lua
index 7c012f4..e5db310 100644
--- a/src/luaotfload-log.lua
+++ b/src/luaotfload-log.lua
@@ -91,7 +91,7 @@ local set_logout = function (s, finalizers)
logout = "redirect"
local chan = choose_logfile ()
chan:write (stringformat ("logging initiated at %s",
- osdate ("%Y-%m-%d %h:%m:%s", --- i. e. osdate "%F %T"
+ osdate ("%Y-%m-%d %H:%M:%S", --- i. e. osdate "%F %T"
ostime ())))
local writefile = function (...)
if select ("#", ...) == 2 then
@@ -118,7 +118,7 @@ local set_logout = function (s, finalizers)
finalizers[#finalizers+1] = function ()
chan:write (stringformat ("\nlogging finished at %s\n",
- osdate ("%Y-%m-%d %h:%m:%s", --- i. e. osdate "%F %T"
+ osdate ("%Y-%m-%d %H:%M:%S", --- i. e. osdate "%F %T"
ostime ())))
chan:close ()
texiowrite = texio.write