Mercurial > babel > old > babel-test
diff babel/dates.py @ 256:25c7ccf96f3b
Fix typo in [271] that slipped into the check-in.
author | cmlenz |
---|---|
date | Wed, 15 Aug 2007 13:13:24 +0000 |
parents | 00b83943f79e |
children | bf9ea4af81a0 e4dc98533a26 |
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