• ISO 8601 is paywalled
  • RFC allows a space instead of a T (e.g. 2020-12-09 16:09:…) which is nicer to read.
    • flambonkscious@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      11 months ago

      This is about the old argument around how date strings are formatted.

      MMDDYYYY vs YYYYMMDD, spaces or hyphens may differ. It’s an old and passionate argument (mostly due to the American approach of starting with the month being insane)

      • zik@lemmy.world
        link
        fedilink
        arrow-up
        20
        ·
        11 months ago

        Both ISO8601 and RFC3339 are YYYY-MM-DD. The difference is in how the date and time are separated.

        • baltakatei
          link
          fedilink
          arrow-up
          2
          ·
          11 months ago

          Also, ISO 8601 has some handy rules for expressing time lengths and periodicities.

        • somenonewho@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          That’s a certain kind of skill I wouldn’t want the need to have. I just copy paste those timestamps into a terminal with date -d @ (and always forget the right syntax for that :D)

    • Dr. Dabbles@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      11 months ago

      ISO standards need to be purchased to be viewed, RFCs are freely available requests for comment. The RFC 3339 format is effectively the same is the ISO format, except RFC 3339 allows for a space between the date and time components whereas the ISO format uses a “T” character to separate date and time components.

      If you want to get real weird, RFCs are not standards but rather a request for other participants to comment on the proposal. RFCs tend to be pointed towards as de facto standards though, even before they become a BCP or STD.

      • Pratai@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Yeah… I have no idea what any of that means either. I’m sorry I caused you to write all that out.