summaryrefslogtreecommitdiff
path: root/django/utils/timezone.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-25 23:48:47 -0700
committerClaude Paroz <claude@2xlibre.net>2018-09-26 08:48:47 +0200
commit82f286cf6f198d37850d3c5df637b5665566a66b (patch)
treebf8d7b8d45ee9bcf033ecbd35d73f98f3f58d87e /django/utils/timezone.py
parentd1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 (diff)
Refs #29784 -- Switched to https:// links where available.
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.