• dan@upvote.au
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    8 hours ago

    RFC3339 is better than ISO8601 since it doesn’t allow some of the esoteric formats, and allows some useful formats that ISO8601 doesn’t (like separating date and time by a space instead of by T)

    For example, 2026-W32-1 is also a valid ISO8601 date: Monday on the 32nd week of 2026. That format isn’t allowed with RFC3339.

    https://ijmacd.github.io/rfc3339-iso8601/

    • chickenf622@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      7 hours ago

      Damn it I forgot about the duration part of ISO 8601 (which is also super useful and I love it). I’ll amend it to RFC 3339 to be more exact in what I mean (even though the specified format should prevent the more esoteric formats).