Revert "main/hypermail Updated. mdri2mbox.lua fix with patch from nangel@nothome.org"

This reverts commit 9a2bbde4c3.
This commit is contained in:
Michael Mason 2010-03-08 20:59:13 +00:00
parent 9a2bbde4c3
commit 3ebbbf50bf
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=hypermail
pkgver=2.2.0
pkgrel=2
pkgrel=1
pkgdesc="Mail Archiver"
url="http://www.hypermail-project.org"
license="GPL"

View File

@ -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]*)")