mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
Fix ISO 8601 timedelta spec given in docs (#482)
This commit is contained in:
committed by
Samuel Colvin
parent
2ca81ed33f
commit
edafaf9b86
+1
-1
@@ -437,7 +437,7 @@ types:
|
||||
* ``str``, following formats work:
|
||||
|
||||
* ``[-][DD ][HH:MM]SS[.ffffff]``
|
||||
* ``[±]P[DD]T[HH]H[MM]M[SS]S`` (ISO 8601 format for timedelta)
|
||||
* ``[±]P[DD]DT[HH]H[MM]M[SS]S`` (ISO 8601 format for timedelta)
|
||||
|
||||
|
||||
.. literalinclude:: examples/datetime_example.py
|
||||
|
||||
Reference in New Issue
Block a user