Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed an inaccurate statement

in docstrings of dateparse functions.
  • Loading branch information...
commit a43ecc04445a02982cb9c52357db25066b197c37 1 parent 7631fb8
@aaugustin aaugustin authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 django/utils/dateparse.py
View
4 django/utils/dateparse.py
@@ -43,8 +43,6 @@ def parse_time(value):
This function doesn't support time zone offsets.
- Sub-microsecond precision is accepted, but ignored.
-
Raises ValueError if the input is well formatted but not a valid time.
Returns None if the input isn't well formatted, in particular if it
contains an offset.
@@ -63,8 +61,6 @@ def parse_datetime(value):
This function supports time zone offsets. When the input contains one,
the output uses an instance of FixedOffset as tzinfo.
- Sub-microsecond precision is accepted, but ignored.
-
Raises ValueError if the input is well formatted but not a valid datetime.
Returns None if the input isn't well formatted.
"""
Please sign in to comment.
Something went wrong with that request. Please try again.