]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Set explicit local timezone for CLI `init` command.
authorChristopher Lenz <cmlenz@gmail.com>
Mon, 18 Jun 2007 18:26:19 +0000 (18:26 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Mon, 18 Jun 2007 18:26:19 +0000 (18:26 +0000)
babel/messages/frontend.py

index 0c1104112c1fddfe33912246d881595b2de8af53..53c5b0b6eb0bdd7c17b5f4b63536030e5f9e2265 100644 (file)
@@ -529,7 +529,7 @@ class CommandLineInterface(object):
             infile.close()
 
         catalog.locale = locale
-        catalog.revision_date = datetime.now()
+        catalog.revision_date = datetime.now(LOCALTZ)
 
         print 'creating catalog %r based on %r' % (options.output_file,
                                                    options.input_file)