From a43ecc04445a02982cb9c52357db25066b197c37 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 19 Aug 2012 21:25:41 +0200 Subject: [PATCH] Removed an inaccurate statement in docstrings of dateparse functions. --- django/utils/dateparse.py | 4 ---- 1 file changed, 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. """