diff babel/support.py @ 350:e5db561bf70e

Fixes for timezone calculations in time formatting (#83).
author cmlenz
date Mon, 16 Jun 2008 16:05:35 +0000
parents 398e7c377165
children cd8702e96f45
line wrap: on
line diff
--- a/babel/support.py
+++ b/babel/support.py
@@ -79,7 +79,7 @@
         
         >>> from pytz import timezone
         >>> fmt = Format('en_US', tzinfo=timezone('US/Eastern'))
-        >>> fmt.time(time(15, 30))
+        >>> fmt.time(datetime(2007, 4, 1, 15, 30))
         u'11:30:00 AM'
         
         :see: `babel.dates.format_time`
Copyright (C) 2012-2017 Edgewall Software