diff babel/support.py @ 349:7e2983180f6d stable-0.9.x

Ported [385] to 0.9.x branch.
author cmlenz
date Mon, 16 Jun 2008 16:07:52 +0000
parents faf0ead3a132
children 7215876bdf89 c2ae38340540
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