Mercurial > babel > old > babel-test
changeset 324:b4b72e7ca638
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 | 6e4d20dbf189 |
children | 85c7bc435674 |
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"