Mercurial > babel > old > babel-test
changeset 325:85c7bc435674
Actually use UTC to be more correct.
author | jruigrok |
---|---|
date | Wed, 19 Mar 2008 15:32:18 +0000 |
parents | b4b72e7ca638 |
children | eabe96c809c3 |
files | babel/dates.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/dates.py +++ b/babel/dates.py @@ -521,8 +521,7 @@ >>> from pytz import timezone >>> t = time(15, 30) - >>> format_time(t, format='full', tzinfo=timezone('Universal'), - ... locale='fr_FR') + >>> format_time(t, format='full', tzinfo=timezone('UTC'), locale='fr_FR') u'15:30:00 Monde (GMT)' >>> format_time(t, "hh 'o''clock' a, zzzz", tzinfo=timezone('US/Eastern'), ... locale='en')