Mercurial > babel > mirror
changeset 324:7bd832463dd2 trunk
Replace Europe/Paris with Universal.
The doctest was, and still is, not respecting local clock changes for
summer/winter time, which cause the test to fail for half of the year.
author | jruigrok |
---|---|
date | Wed, 19 Mar 2008 15:03:07 +0000 |
parents | e2c0e624c85b |
children | 5888bd8c5733 |
files | babel/dates.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/dates.py +++ b/babel/dates.py @@ -521,9 +521,9 @@ >>> from pytz import timezone >>> t = time(15, 30) - >>> format_time(t, format='full', tzinfo=timezone('Europe/Paris'), + >>> format_time(t, format='full', tzinfo=timezone('Universal'), ... locale='fr_FR') - u'17:30:00 HEC' + u'15:30:00 Monde (GMT)' >>> format_time(t, "hh 'o''clock' a, zzzz", tzinfo=timezone('US/Eastern'), ... locale='en') u"11 o'clock AM, Eastern Daylight Time"