summaryrefslogtreecommitdiff
path: root/babel
diff options
context:
space:
mode:
Diffstat (limited to 'babel')
-rw-r--r--babel/dates.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/babel/dates.py b/babel/dates.py
index ce79318..83ce728 100644
--- a/babel/dates.py
+++ b/babel/dates.py
@@ -51,11 +51,7 @@ if TYPE_CHECKING:
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')