From d5e8da9ba4cc1916968dec74965d96bde8b3f1ea Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 10 Dec 2010 20:35:46 -0700 Subject: [PATCH] Oops, forgot to fix one location in the SONY news metadata --- src/calibre/ebooks/epub/periodical.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/epub/periodical.py b/src/calibre/ebooks/epub/periodical.py index 0c9b029c51..cccdbf772f 100644 --- a/src/calibre/ebooks/epub/periodical.py +++ b/src/calibre/ebooks/epub/periodical.py @@ -6,6 +6,7 @@ __copyright__ = '2010, Kovid Goyal ' __docformat__ = 'restructuredtext en' from uuid import uuid4 +import time from calibre.constants import __appname__, __version__ from calibre import strftime, prepare_string_for_xml as xml @@ -103,7 +104,7 @@ def sony_metadata(oeb): publisher=xml(publisher), issue_date=xml(date), language=xml(language)) - updated = strftime('%Y-%m-%dT%H:%M:%SZ') + updated = strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()) def cal_id(x): for k, v in x.attrib.items():