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