diff options
| author | Paul Ganssle <pganssle@users.noreply.github.com> | 2017-12-07 00:44:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-07 00:44:50 +0000 |
| commit | fa11a158d27272135db68ae350650d2f16ec0ca0 (patch) | |
| tree | 12ea5873d075811d917ea8ecbe5fccbd77a4a5b6 /dateutil/parser | |
| parent | ed4a2b474190f946ad32bb54d0f8b4f264483806 (diff) | |
| parent | 04254e3c4718b9b2ee96fa38a5d67c8104989592 (diff) | |
| download | dateutil-git-fa11a158d27272135db68ae350650d2f16ec0ca0.tar.gz | |
Merge pull request #568 from gaborbernat/master
add document generation to tox
Diffstat (limited to 'dateutil/parser')
| -rw-r--r-- | dateutil/parser/_parser.py | 2 | ||||
| -rw-r--r-- | dateutil/parser/isoparser.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dateutil/parser/_parser.py b/dateutil/parser/_parser.py index 541cdfc..2291f39 100644 --- a/dateutil/parser/_parser.py +++ b/dateutil/parser/_parser.py @@ -22,7 +22,7 @@ Additional resources about date/time string formats can be found below: - `A summary of the international standard date and time notation <http://www.cl.cam.ac.uk/~mgk25/iso-time.html>`_ - `W3C Date and Time Formats <http://www.w3.org/TR/NOTE-datetime>`_ -- `Time Formats (Planetary Rings Node) <http://pds-rings.seti.org/tools/time_formats.html>`_ +- `Time Formats (Planetary Rings Node) <https://pds-rings.seti.org:443/tools/time_formats.html>`_ - `CPAN ParseDate module <http://search.cpan.org/~muir/Time-modules-2013.0912/lib/Time/ParseDate.pm>`_ - `Java SimpleDateFormat Class diff --git a/dateutil/parser/isoparser.py b/dateutil/parser/isoparser.py index 89aa3ec..1550c3a 100644 --- a/dateutil/parser/isoparser.py +++ b/dateutil/parser/isoparser.py @@ -65,7 +65,7 @@ class isoparser(object): - ``YYYY`` - ``YYYY-MM`` or ``YYYYMM`` - - ``YYYY-MM-DD`` or `YYYYMMDD`` + - ``YYYY-MM-DD`` or ``YYYYMMDD`` Uncommon: @@ -79,7 +79,7 @@ class isoparser(object): - ``hh`` - ``hh:mm`` or ``hhmm`` - - ``hh:mm:ss`` or `hhmmss`` + - ``hh:mm:ss`` or ``hhmmss`` - ``hh:mm:ss.sss`` or ``hh:mm:ss.ssssss`` (3-6 sub-second digits) Midnight is a special case for `hh`, as the standard supports both |
