ioBroker / ioBroker.simple-api

HTTP-API Interface to read and write objets and states
MIT License
41 stars 19 forks source link

Format timestamps #133

Open KoMa1978 opened 2 years ago

KoMa1978 commented 2 years ago

Can you please add an option "timeRFC3339" similar to "noStringify".

If this option is used, the time values in "lc" and "ts" should not be reported in Unix timestamp but in RFC3339 format (2022-04-06T13:57:38.0753266+02:00).

Links: https://www.rfc-editor.org/rfc/rfc3339 https://en.wikipedia.org/wiki/ISO_8601 https://ijmacd.github.io/rfc3339-iso8601/

SirFlour commented 1 year ago

that would be very helpful. :)