diff options
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. |
