summaryrefslogtreecommitdiff
path: root/django/utils/timezone.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/timezone.py')
-rw-r--r--django/utils/timezone.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/timezone.py b/django/utils/timezone.py
index 25767e6047..58e92c1fa8 100644
--- a/django/utils/timezone.py
+++ b/django/utils/timezone.py
@@ -240,7 +240,7 @@ def is_aware(value):
Determine if a given datetime.datetime is aware.
The concept is defined in Python's docs:
- http://docs.python.org/library/datetime.html#datetime.tzinfo
+ https://docs.python.org/library/datetime.html#datetime.tzinfo
Assuming value.tzinfo is either None or a proper datetime.tzinfo,
value.utcoffset() implements the appropriate logic.
@@ -253,7 +253,7 @@ def is_naive(value):
Determine if a given datetime.datetime is naive.
The concept is defined in Python's docs:
- http://docs.python.org/library/datetime.html#datetime.tzinfo
+ https://docs.python.org/library/datetime.html#datetime.tzinfo
Assuming value.tzinfo is either None or a proper datetime.tzinfo,
value.utcoffset() implements the appropriate logic.