summaryrefslogtreecommitdiff
path: root/Tools/i18n
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2004-08-16 12:10:12 +0000
committerMatthias Klose <doko@ubuntu.com>2004-08-16 12:10:12 +0000
commit03ba2d6d8b37becf617dab20cfa63f81e8fc3a92 (patch)
tree02282c58d22484a6d5d4c1722acdea5347095c28 /Tools/i18n
parent4e38efb7dd66d2f8524683ad5fa71ad582c81bfc (diff)
downloadcpython-03ba2d6d8b37becf617dab20cfa63f81e8fc3a92.tar.gz
- pygettext.py: Generate POT-Creation-Date header in ISO format.
Diffstat (limited to 'Tools/i18n')
-rwxr-xr-xTools/i18n/pygettext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py
index f0488bf65d..bb0dd35da9 100755
--- a/Tools/i18n/pygettext.py
+++ b/Tools/i18n/pygettext.py
@@ -445,7 +445,7 @@ class TokenEater:
def write(self, fp):
options = self.__options
- timestamp = time.ctime(time.time())
+ timestamp = time.strftime('%Y-%m-%d %H:%M+%Z')
# The time stamp in the header doesn't have the same format as that
# generated by xgettext...
print >> fp, pot_header % {'time': timestamp, 'version': __version__}