atviriduomenys / vadovas

Lietuvos atvirų duomenų vadovas
https://atviriduomenys.readthedocs.io/
GNU Affero General Public License v3.0
3 stars 1 forks source link

Add information about timezones #3

Open sirex opened 2 years ago

sirex commented 2 years ago

Datetime values must always be provided with timezone information, for example:

2024-01-22T09:14:13+02:00

If timezone is not given, for example:

2024-01-22T09:14:13

Then level must be set to 2 (non-standard data).

Timezone for values without timezone can be set via prepare function:

tz('UTC')
tz('Europe/Vilnius')
tz('+02:00')
tz('-02:00')

If timezone is not given in value and timezone is not known, then level must be set to 2.