Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cherry-pick] Fixed datetime format specifier in docs #4879

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/usage/types.md
Expand Up @@ -310,7 +310,7 @@ types:
* `int` or `float`, assumed as Unix time, i.e. seconds (if >= `-2e10` or <= `2e10`) or milliseconds (if < `-2e10`or > `2e10`) since 1 January 1970
* `str`, following formats work:

* `YYYY-MM-DD[T]HH:MM[:SS[.ffffff]][Z or [±]HH[:]MM]]]`
* `YYYY-MM-DD[T]HH:MM[:SS[.ffffff]][Z or [±]HH[:]MM]`
* `int` or `float` as a string (assumed as Unix time)

* `date` fields can be:
Expand All @@ -327,7 +327,7 @@ types:
* `time`, existing `time` object
* `str`, following formats work:

* `HH:MM[:SS[.ffffff]][Z or [±]HH[:]MM]]]`
* `HH:MM[:SS[.ffffff]][Z or [±]HH[:]MM]`

* `timedelta` fields can be:

Expand Down