Skip to content

Commit 244ecee

Browse files
DOCSP-9829 doc update for supported ISODate formats
DOCSP-9829 minor fix DOCSP-9829 minor fix
1 parent c868d41 commit 244ecee

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

source/supported-unsupported/supported-partition-attributes.txt

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,38 @@ for each data type:
4848

4949
* - ``isodate``
5050
- Parses the filename in `RFC 3339 <https://tools.ietf.org/html/rfc3339>`_
51-
format as an ISO-8601 format date.
51+
format as an ISO-8601 format date.
52+
5253
- filename: ``/metrics/2019-01-03T00:00:00Z.json``
5354

5455
path: ``/metrics/{startTimestamp isodate}``
5556

5657
In the above example, ``startTimestamp`` is interpreted
57-
as an :manual:`ISODate </reference/glossary/#term-isodate>`.
58+
as an :manual:`ISODate </reference/glossary/#term-isodate>`.
59+
:manual:`ISODate </reference/glossary/#term-isodate>` similar
60+
to the following example dates are supported:
61+
62+
.. code-block:: none
63+
:copyable: false
64+
65+
"2020-01-02T15:04:05Z07:00"
66+
"2020-01-02T15:04:05.000000Z07:00"
67+
"2020-01-02"
68+
"2020-01-02T15:04:05.000000-0700"
69+
"2020-01-02T15:04:05-0700"
70+
"2020-01-02T15:04Z07:00"
71+
"2020-01-02T15:04-0700"
72+
"2020-01-02Z07:00"
73+
"2020-01-02-0700"
74+
"20200102T15:04:05.000000Z07:00"
75+
"20200102T15:04:05.000000-0700"
76+
"20200102T15:04:05Z07:00"
77+
"20200102T15:04:05-0700"
78+
"20200102T15:04Z07:00"
79+
"20200102T15:04-0700"
80+
"20200102Z07:00"
81+
"20200102-0700"
82+
"20200102"
5883

5984
* - ``epoch_secs``
6085
- Parses the filename as a Unix timestamp in seconds.

0 commit comments

Comments
 (0)