From: Christopher Lenz Date: Mon, 18 Jun 2007 18:26:19 +0000 (+0000) Subject: Set explicit local timezone for CLI `init` command. X-Git-Tag: 1.0~497 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2d02dbee80220f1e0641a76352175fc0d234d4d;p=thirdparty%2Fbabel.git Set explicit local timezone for CLI `init` command. --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 0c110411..53c5b0b6 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -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)