cmlenz  committed 2d9efe2

Fix for `get_timezone_name` when falling back to GMT display.

  • Participants
  • Parent commits a6ffb18
  • Branches trunk

Comments (0)

Files changed (1)

File babel/

     # 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)