From 6e495cd58364976ac67ffc3e2368298818b95132 Mon Sep 17 00:00:00 2001 From: Joseph Breihan Date: Mon, 5 Oct 2015 01:17:32 -0400 Subject: [PATCH] documentation: Correct timezone in example. Update example in Date and Time documentation to reflect metazone translation. Fixes https://github.com/python-babel/babel/issues/108 --- docs/dates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dates.rst b/docs/dates.rst index 818a3941..f35ee15f 100644 --- a/docs/dates.rst +++ b/docs/dates.rst @@ -352,7 +352,7 @@ functions in the ``babel.dates`` module, most importantly the >>> tz = get_timezone('Europe/Berlin') >>> get_timezone_name(tz, locale=Locale.parse('pt_PT')) - u'Hor\xe1rio Alemanha' + u'Hora da Europa Central' You can pass the function either a ``datetime.tzinfo`` object, or a ``datetime.date`` or ``datetime.datetime`` object. If you pass an actual date, -- 2.47.2