[Python-checkins] python/dist/src/Tools/i18n pygettext.py, 1.23, 1.24

doko at users.sourceforge.net doko at users.sourceforge.net
Mon Aug 16 14:10:14 CEST 2004


Update of /cvsroot/python/python/dist/src/Tools/i18n
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26208/Tools/i18n

Modified Files:
	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.24
diff -C2 -d -r1.23 -r1.24
*** pygettext.py	16 Apr 2003 18:08:23 -0000	1.23
--- pygettext.py	16 Aug 2004 12:10:12 -0000	1.24
***************
*** 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