Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2542be commit 2443d4aCopy full SHA for 2443d4a
2 files changed
Misc/NEWS
@@ -81,6 +81,8 @@ Library
81
Tools/Demos
82
-----------
83
84
+- pygettext.py: Generate POT-Creation-Date header in ISO format.
85
+
86
Build
87
-----
88
Tools/i18n/pygettext.py
@@ -445,7 +445,7 @@ def set_filename(self, filename):
445
446
def write(self, fp):
447
options = self.__options
448
- timestamp = time.ctime(time.time())
+ timestamp = time.strftime('%Y-%m-%d %H:%M+%Z')
449
# The time stamp in the header doesn't have the same format as that
450
# generated by xgettext...
451
print >> fp, pot_header % {'time': timestamp, 'version': __version__}
0 commit comments