diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-25 23:48:47 -0700 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2018-09-26 08:48:47 +0200 |
| commit | 82f286cf6f198d37850d3c5df637b5665566a66b (patch) | |
| tree | bf8d7b8d45ee9bcf033ecbd35d73f98f3f58d87e /django/utils/timezone.py | |
| parent | d1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 (diff) | |
Refs #29784 -- Switched to https:// links where available.
Diffstat (limited to 'django/utils/timezone.py')
| -rw-r--r-- | django/utils/timezone.py | 4 |
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. |
