Mercurial > babel > old > mirror
diff babel/dates.py @ 258:5f3534425eab
Fix typo in [271] that slipped into the check-in.
author | cmlenz |
---|---|
date | Wed, 15 Aug 2007 13:13:24 +0000 |
parents | ea9da47e35bc |
children | cd2d75cf4b43 |
line wrap: on
line diff
--- a/babel/dates.py +++ b/babel/dates.py @@ -367,7 +367,7 @@ if dt_or_tzinfo is None or isinstance(dt_or_tzinfo, (int, long)): dt = None tzinfo = UTC - elif isinstance(dt_or_tzinfo, (date, time)): + elif isinstance(dt_or_tzinfo, (datetime, time)): dt = dt_or_tzinfo if dt.tzinfo is not None: tzinfo = dt.tzinfo