• 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
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 year 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
      ·
      1 year ago

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

      • flambonkscious
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        Than you! I was shooting from the hip half asleep (the classic ‘gosh I’m so clever’ moment for me…)

      • somenonewho@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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)