• @apprehenticeA
    link
    fedilink
    525 months ago

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

    • AggressivelyPassive
      link
      fedilink
      125 months 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.

    • @bleistift2@sopuli.xyz
      link
      fedilink
      English
      85 months ago

      When the API returns UTC, but mandates that you give it an offset which it will add or subtract from the UTC time, while still adding the Z at the end.