summaryrefslogtreecommitdiff
path: root/src/luaotfload-log.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-07-16 07:30:31 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-07-16 07:30:31 +0200
commit2e932fd1f0ea473255313c65425d3a6d4521298a (patch)
tree9cf866b6d7dabcef649ad666daa947e505cd56f1 /src/luaotfload-log.lua
parent5620174f0651c4918c8dd65e5cabf1ee6df28de7 (diff)
parent1fdc7b6792199cfc37bdb43948b82523a8b8f91a (diff)
downloadluaotfload-2e932fd1f0ea473255313c65425d3a6d4521298a.tar.gz
Merge pull request #234 from phi-gamma/master
prepare for first fix release
Diffstat (limited to 'src/luaotfload-log.lua')
-rw-r--r--src/luaotfload-log.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/luaotfload-log.lua b/src/luaotfload-log.lua
index 5698c84..a0e78bd 100644
--- a/src/luaotfload-log.lua
+++ b/src/luaotfload-log.lua
@@ -91,7 +91,8 @@ local set_logout = function (s, finalizers)
logout = "redirect"
local chan = choose_logfile ()
chan:write (stringformat ("logging initiated at %s",
- osdate ("%F %T", ostime ())))
+ osdate ("%Y-%m-%d %h:%m:%s", --- i. e. osdate "%F %T"
+ ostime ())))
local writefile = function (...)
if select ("#", ...) == 2 then
chan:write (select (2, ...))
@@ -117,7 +118,8 @@ local set_logout = function (s, finalizers)
finalizers[#finalizers+1] = function ()
chan:write (stringformat ("\nlogging finished at %s\n",
- osdate ("%F %T", ostime ())))
+ osdate ("%Y-%m-%d %h:%m:%s", --- i. e. osdate "%F %T"
+ ostime ())))
chan:close ()
texiowrite = texio.write
texiowrite_nl = texio.write_nl