]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
fix expected values for timezone names 12/head
authorAlex Morega <alex@grep.ro>
Fri, 5 Jul 2013 09:13:34 +0000 (11:13 +0200)
committerAlex Morega <alex@grep.ro>
Fri, 5 Jul 2013 09:13:34 +0000 (11:13 +0200)
commonly-used names no longer available

babel/dates.py

index ec9d63f194adfbcb4c316a6c8e10654017de1a36..a34f549db3283946c1c13d94e78271c3a604779f 100644 (file)
@@ -328,16 +328,16 @@ def get_timezone_name(dt_or_tzinfo=None, width='long', uncommon=False,
     
     >>> tz = timezone('Europe/Berlin')
     >>> get_timezone_name(tz, locale='de_DE')
-    u'Deutschland'
+    u'Mitteleurop\xe4ische Zeit'
     >>> get_timezone_name(tz, locale='pt_BR')
-    u'Hor\xe1rio Alemanha'
+    u'Hor\xe1rio da Europa Central'
     
     On the other hand, if the country uses multiple timezones, the city is also
     included in the representation:
     
     >>> tz = timezone('America/St_Johns')
     >>> get_timezone_name(tz, locale='de_DE')
-    u"Kanada (St. John's)"
+    u'Neufundland-Zeit'
     
     :param dt_or_tzinfo: the ``datetime`` or ``tzinfo`` object that determines
                          the timezone; if a ``tzinfo`` object is used, the