Mercurial > babel > old > mirror
changeset 327:94507c5de7d5
Actually use UTC to be more correct.
author | jruigrok |
---|---|
date | Wed, 19 Mar 2008 15:32:18 +0000 |
parents | d1ed9ad945b8 |
children | 6b653a02c7f1 |
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')