diff --git a/babel/dates.py b/babel/dates.py index ce79318d0..83ce72862 100644 --- a/babel/dates.py +++ b/babel/dates.py @@ -51,11 +51,7 @@ NO_INHERITANCE_MARKER = '\u2205\u2205\u2205' - -if pytz: - UTC = pytz.utc -else: - UTC = zoneinfo.ZoneInfo('UTC') +UTC = datetime.timezone.utc LOCALTZ = localtime.LOCALTZ LC_TIME = default_locale('LC_TIME')