Template

Further reading: RFC 3339 / ISO 8601

you are viewing a single comment's thread
view the rest of the comments
[–] 52 points 2 years ago (2 children)

When the API returns UTC, but the system insists on giving you local time... but there's an extension method that accepts DateTimeOffset?

  • source
  • hideshow 4 child comments
  • [–] 12 points 2 years ago

    Or requires a timestamp with zone offset, but ignores the zone offset, so you have to send the timestamp itself with a zone offset of zero relative to the systems timezone, but can't just omit the zone offset, because it's required.

  • source
  • parent