• ISO 8601 is paywalled
  • RFC allows a space instead of a T (e.g. 2020-12-09 16:09:…) which is nicer to read.
  • TeckFire@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    IMO, ISO 8601 is better for computers, people working with multiple time zones, or critical logging.

    RFC 3339 is better used colloquially, while still remaining unambiguous for the use cases that most people use dates and times in.

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      I’d rather have an explicit time zone any time a datetime is being passed around code as a string. Communicating it to a human is relatively safe since even if there’s a mistake, it’s directly visible. Before that last step, incorrect time zone parsing or implicit time zone assumptions in code that was written by “who knows” in the year “who knows” can be really annoying.