diff options
author | Matthias Klose <doko@ubuntu.com> | 2004-08-16 12:10:12 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2004-08-16 12:10:12 (GMT) |
commit | 2443d4ab5d42816210a4a2247804d72e5286d2fd (patch) | |
tree | d4d4c5ff486cbbc101ffd090e7e34396a45ffc20 /Tools | |
parent | a2542bee597cbbc382d17ad6bd7ad4fce09d71b8 (diff) | |
download | cpython-2443d4ab5d42816210a4a2247804d72e5286d2fd.zip cpython-2443d4ab5d42816210a4a2247804d72e5286d2fd.tar.gz cpython-2443d4ab5d42816210a4a2247804d72e5286d2fd.tar.bz2 |
- pygettext.py: Generate POT-Creation-Date header in ISO format.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/i18n/pygettext.py | 2 |
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__} |