this post was submitted on 12 Dec 2023
629 points (95.1% liked)

Memes

45223 readers
1514 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
  • ISO 8601 is paywalled
  • RFC allows a space instead of a T (e.g. 2020-12-09 16:09:...) which is nicer to read.
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 9 months ago (1 children)

Doesn't the ISO also includes time periods? Because if it does, those are amazing.

Without any explanation, you should be able to decypher these periods just by looking at them:

  • P1Y
  • P6M2D
  • P1DT4H
  • PT42M
[–] [email protected] 1 points 9 months ago (1 children)

Hmm I don't get the T there tbh

[–] [email protected] 1 points 9 months ago (1 children)

It makes the difference between M meaning month or M meaning minute. Small differences.

[–] [email protected] 1 points 9 months ago (1 children)

So it's redundant in P1DT4H? Or is it a mandatory separator between ymd and hms?

[–] [email protected] 1 points 9 months ago

It's mandatory, which also makes it nice and predictable.