630
submitted 9 months ago by qaz@lemmy.world to c/memes@lemmy.ml
  • 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
[-] rtxn@lemmy.world 12 points 9 months ago

Again, it's not just CLI, it's an insurance against misinterpreted characters breaking programs.

[-] meekah@lemmy.world -4 points 9 months ago

honestly, if a space breaks your program, it's kind of a shit program.

[-] rtxn@lemmy.world 2 points 9 months ago

Yeah? I once spent an entire week debugging a plaintext database because the software expected the record identifiers to be tokenized a certain way, but the original data source had spaces in those strings.

The software was the ISC DHCP server, the industry standard for decades and only EOL'd a year ago.

[-] meekah@lemmy.world 1 points 9 months ago

Sounds like a weekend that you could have saved if the software was just implemented properly and accepted spaces.

Something being an industry standard does not necessarily mean it's good. Sometimes it just means it was the cheapest, or sometimes even just because it was used for so long. How long did it take for Torx to somewhat replace philips head screws despite being better in most cases?

I think date strings are made for human and machine readability. Similar to XML or JSON. So, why not improve systems so that we can have more human readable date strings? If you don't care about human readability and want to make sure there is no confusion with spaces, you can just use epoch timestamps.

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

Memes

45196 readers
2228 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