Subject: | support for YYYY-MM-DDThh:mm:ss.ss[+-]hh |
Hi!
Is there any reason that there is support for
YYYY-MM-DDThh:mm:ss[+-]hh:mm
YYYY-MM-DDThh:mm:ss[+-]hh
YYYY-MM-DDThh:mm:ss.ss[+-]hh:mm
but NOT for
YYYY-MM-DDThh:mm:ss.ss[+-]hh
i.e. a string with miliseconds and only an hour offset is not parsable:
perl -MDateTime::Format::ISO8601 -E 'say DateTime::Format::ISO8601->parse_datetime("2019-10-09T21:07:10.42+02")'
PostgreSQLs now() functions returns strings with fractions of seconds and an hour only time-zone:
select now();
2019-10-09 21:10:21.14294+02
I guess it wouldn't be too hard to implement, and I would supply a patch, if this format would be supported...
Greetings,
domm