changeset 132:59ccb974a4ef

Set explicit local timezone for CLI `init` command.
author cmlenz
date Mon, 18 Jun 2007 18:26:19 +0000
parents a63812008056
children 7d3d03855980
files babel/messages/frontend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/frontend.py
+++ b/babel/messages/frontend.py
@@ -529,7 +529,7 @@
             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)
Copyright (C) 2012-2017 Edgewall Software