Commit 2443d4ab authored by Matthias Klose's avatar Matthias Klose

- pygettext.py: Generate POT-Creation-Date header in ISO format.

parent a2542bee
......@@ -81,6 +81,8 @@ Library
Tools/Demos
-----------
- pygettext.py: Generate POT-Creation-Date header in ISO format.
Build
-----
......
......@@ -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__}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment