diff babel/messages/pofile.py @ 97:a02952b73cf1

Renamed `LOCAL` to `LOCALTZ`.
author cmlenz
date Tue, 12 Jun 2007 20:09:35 +0000
parents 11e90b91a4f0
children eb0d9591d555
line wrap: on
line diff
--- a/babel/messages/pofile.py
+++ b/babel/messages/pofile.py
@@ -28,7 +28,7 @@
 
 from babel import __version__ as VERSION
 from babel.messages.catalog import Catalog
-from babel.util import LOCAL
+from babel.util import LOCALTZ
 
 __all__ = ['escape', 'normalize', 'read_po', 'write_po', 'write_pot']
 
@@ -418,7 +418,7 @@
     inlines = input_fileobj.readlines()
     outlines = []
     in_header = True
-    _date = datetime.now(LOCAL)
+    _date = datetime.now(LOCALTZ)
     for index in range(len(inlines)):
         if in_header:
             if '# Translations template' in inlines[index]:                
Copyright (C) 2012-2017 Edgewall Software