diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-28 14:48:20 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-28 14:49:38 +0200 |
commit | 5c0a95b933cc0bcff531a4725f8170b2aec1726b (patch) | |
tree | a297e3b6f8d0bc90380267d184b0538432bf3271 /luaotfload-diagnostics.lua | |
parent | 669810faca6f3fc870b206fff143a716986604d7 (diff) | |
download | luaotfload-5c0a95b933cc0bcff531a4725f8170b2aec1726b.tar.gz |
[tool] work around ms compiler limitations
Diffstat (limited to 'luaotfload-diagnostics.lua')
-rw-r--r-- | luaotfload-diagnostics.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/luaotfload-diagnostics.lua b/luaotfload-diagnostics.lua index db807de..46ae412 100644 --- a/luaotfload-diagnostics.lua +++ b/luaotfload-diagnostics.lua @@ -312,7 +312,12 @@ else out ("%d of %d Github API requests left.", left, limit) if left == 0 then out ("Cannot make any more API requests.") - out ("Try again later at %s.", osdate ("%F %T", reset)) + if ostype == "unix" then + out ("Try again later at %s.", osdate ("%F %T", reset)) + else --- windows doesn’t C99 + out ("Try again later at %s.", + osdate ("%Y-%m-d %H:%M:%S", reset)) + end end return true end @@ -620,3 +625,4 @@ end return diagnose +-- vim:tw=71:sw=4:ts=4:expandtab |