[REF] use datetime.utcnow() rather than having to import: from dateutil.tz import tzutc
bzr revid: rvalyi@gmail.com-20100201125944-lpr1ijeg2zmkadmv
This commit is contained in:
parent
855d0fc82f
commit
fe3562a57b
|
@ -21,7 +21,6 @@
|
|||
|
||||
import os
|
||||
from datetime import datetime
|
||||
from dateutil.tz import tzutc
|
||||
|
||||
from os.path import join
|
||||
import fnmatch
|
||||
|
@ -281,7 +280,7 @@ class TinyPoFile(object):
|
|||
'version': release.version,
|
||||
'modules': reduce(lambda s, m: s + "#\t* %s\n" % m, modules, ""),
|
||||
'bugmail': release.support_email,
|
||||
'now': datetime.now(tzutc()).strftime('%Y-%m-%d %H:%M:%S%z'),
|
||||
'now': datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S%z')+"+0000",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue