Hi,
When encoding Date object to XML Schema Date format using JSONEncoder.encodeDate the result is date does not have any information about timezone and it is assumed to be in UTC.
Wouldn't it be better to append "Z" to date to specify that it is really UTC. Some backends (like mine) assumes that date without timezone are in local timezone as in ISO 8601 and XML Schema.
I believe that some problems mentioned by others on this forum was also caused by that.
Regards,
Janusz
When encoding Date object to XML Schema Date format using JSONEncoder.encodeDate the result is date does not have any information about timezone and it is assumed to be in UTC.
Wouldn't it be better to append "Z" to date to specify that it is really UTC. Some backends (like mine) assumes that date without timezone are in local timezone as in ISO 8601 and XML Schema.
I believe that some problems mentioned by others on this forum was also caused by that.
Regards,
Janusz
Comment