Mercurial > babel > old > babel-test
changeset 253:ba30864779cc
Fix for `get_timezone_name` when falling back to GMT display.
author | cmlenz |
---|---|
date | Wed, 15 Aug 2007 12:35:45 +0000 |
parents | 318394721dc6 |
children | 04936a6812af |
files | babel/dates.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/dates.py +++ b/babel/dates.py @@ -408,7 +408,7 @@ # If we have a concrete datetime, we assume that the result can't be # independent of daylight savings time, so we return the GMT offset if dt is not None: - return get_timezone_gmt(time, width=width, locale=locale) + return get_timezone_gmt(dt, width=width, locale=locale) return get_timezone_location(dt_or_tzinfo, locale=locale)