Search service returns date-time fields with an incorrect format
I created a record in Storage containing a date-time field. When I get the record from OSDU Storage, it returns correctly the ISO 8601 / RFC 3339 format I inserted.
Problem: When I retrieve the same record from the OSDU Search service, the date has an unexpected format, which causes unmarshalling to fail.
If you fetch it from the OSDU Storage service, the two date-time fields are displayed correctly as inserted.
What I expect:
Date fields in the format "2021-06-25T19:16:55+00:00" or "2021-06-25T19:16:55Z"
What I got instead:
"2021-06-25T19:16:55+0000" (missing colon at the decimal fraction of a second)
per documentation, the correct format should be:
Complete date plus hours, minutes and seconds: YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00) Complete date plus hours, minutes, seconds and a decimal fraction of a second YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)