diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-08-19 21:25:41 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-08-19 21:25:41 +0200 |
| commit | a43ecc04445a02982cb9c52357db25066b197c37 (patch) | |
| tree | 186284d05e27630aa16ee346ddbffca9b3a7a6c6 /django/utils | |
| parent | 7631fb8f37f0ba8155208a7a9f79f3a9958ac9b1 (diff) | |
Removed an inaccurate statement
in docstrings of dateparse functions.
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/dateparse.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/django/utils/dateparse.py b/django/utils/dateparse.py index 032eb493b6..a693dcbb68 100644 --- a/django/utils/dateparse.py +++ b/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. """ |
