summaryrefslogtreecommitdiffstats
path: root/Tools/i18n
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2004-08-16 12:10:12 (GMT)
committerMatthias Klose <doko@ubuntu.com>2004-08-16 12:10:12 (GMT)
commit2443d4ab5d42816210a4a2247804d72e5286d2fd (patch)
treed4d4c5ff486cbbc101ffd090e7e34396a45ffc20 /Tools/i18n
parenta2542bee597cbbc382d17ad6bd7ad4fce09d71b8 (diff)
downloadcpython-2443d4ab5d42816210a4a2247804d72e5286d2fd.zip
cpython-2443d4ab5d42816210a4a2247804d72e5286d2fd.tar.gz
cpython-2443d4ab5d42816210a4a2247804d72e5286d2fd.tar.bz2
- 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 f0488bf..bb0dd35 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__}