[Python-checkins] python/dist/src/Tools/i18n pygettext.py, 1.23,
1.23.10.1
doko at users.sourceforge.net
doko at users.sourceforge.net
Mon Aug 16 14:12:41 CEST 2004
Update of /cvsroot/python/python/dist/src/Tools/i18n
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26711/Tools/i18n
Modified Files:
Tag: release23-maint
pygettext.py
Log Message:
- pygettext.py: Generate POT-Creation-Date header in ISO format.
Index: pygettext.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/i18n/pygettext.py,v
retrieving revision 1.23
retrieving revision 1.23.10.1
diff -C2 -d -r1.23 -r1.23.10.1
*** pygettext.py 16 Apr 2003 18:08:23 -0000 1.23
--- pygettext.py 16 Aug 2004 12:12:38 -0000 1.23.10.1
***************
*** 446,450 ****
def write(self, fp):
options = self.__options
! timestamp = time.ctime(time.time())
# The time stamp in the header doesn't have the same format as that
# generated by xgettext...
--- 446,450 ----
def write(self, fp):
options = self.__options
! 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...
More information about the Python-checkins
mailing list