363
submitted 9 months ago by Stamets@lemmy.world to c/funny@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Habahnow@sh.itjust.works 227 points 9 months ago

YYYY-MM-DD everything else is wrong.

[-] PM_Your_Nudes_Please@lemmy.world 48 points 9 months ago

For file versioning, this is the way. So when you sort your files by name, your files sort chronologically.

[-] fidodo@lemmy.world 21 points 9 months ago

It's also the most relevant information first. I don't care about what day it is if I don't know what month it's in. If it's an unambiguous context they can just be omitted.

[-] answersplease77@lemmy.world 18 points 9 months ago* (last edited 9 months ago)

Not only that. Processing logs with DD/MM/YYYY in many systems will result in octal base error because of the leading 0 in dates such as 07 08 09, and don't let me talk about how some languages read the back slash / ... pukes in shell

[-] echodot@feddit.uk 1 points 9 months ago

You should be escaping all your strings first that would solve your / problem

this post was submitted on 23 Jan 2024
363 points (84.1% liked)

Funny: Home of the Haha

5640 readers
601 users here now

Welcome to /c/funny, a place for all your humorous and amusing content.

Looking for mods! Send an application to Stamets!

Our Rules:

  1. Keep it civil. We're all people here. Be respectful to one another.

  2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.

  3. Try not to repost anything posted within the past month. Beyond that, go for it. Not everyone is on every site all the time.


Other Communities:

founded 1 year ago
MODERATORS