aboutsummaryrefslogtreecommitdiffstats
path: root/main/hypermail/mdir2mbox.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main/hypermail/mdir2mbox.lua')
-rw-r--r--main/hypermail/mdir2mbox.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/hypermail/mdir2mbox.lua b/main/hypermail/mdir2mbox.lua
index 1a8416bad2..dd883e02db 100644
--- a/main/hypermail/mdir2mbox.lua
+++ b/main/hypermail/mdir2mbox.lua
@@ -70,7 +70,7 @@ file_to_mbox = function (path)
local date = string.match("\n" .. headers, "\nDate: ([^\n]*)")
if date == nil then
- date = os.date ("%a, %d %b %Y %X +%z", posix.stat(path, "mtime"))
+ date = os.date ("%c", posix.stat(path, "mtime"))
end
local weekday,day,month,year,time,offset = string.match(date, "([^,]*), +(%d+) (%a+) (%d+) ([%d:]*) ([%d]*)")