We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a97ef commit e89d1b4Copy full SHA for e89d1b4
2 files changed
Misc/NEWS
@@ -94,6 +94,11 @@ Library
94
95
- Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)).
96
97
+Tools/Demos
98
+-----------
99
+
100
+- pygettext.py: Generate POT-Creation-Date header in ISO format.
101
102
Build
103
-----
104
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