Skip to content

Commit 4470e77

Browse files
committed
Clarify ISO 8601 datetime format in schema
Updated the description for the 'datetime' field to specify that any valid ISO 8601 datetime string is accepted, including local time, UTC, or specific timezones. This provides clearer guidance on acceptable datetime formats.
1 parent 4286347 commit 4470e77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

measurements-table-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
{
4343
"name": "datetime",
44-
"description": "Date and time of the measurement. Formatted as an ISO 8601 string with timezone designator `YYYY-MM-DDThh:mm:ssZ`.",
44+
"description": "Date and time of the measurement. Accepts any valid [ISO 8601](https://wikipedia.org/wiki/ISO_8601) datetime string, including datetime in local time (`YYYY-MM-DDThh:mm`), in UTC (`YYYY-MM-DDThh:mmZ`) or any specific timezone (`YYYY-MM-DDThh:mm+hh:mm`).",
4545
"type": "datetime",
4646
"constraints": {
4747
"required": true

0 commit comments

Comments
 (0)