87
submitted 2 weeks ago by pooky55@lemm.ee to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] RedWeasel@lemmy.world 13 points 2 weeks ago

The perfect date is YYYY/MM/DD. US and every where else conflict with DD/MM/YYYY & MM/DD/YYYY.

[-] deegeese@sopuli.xyz 28 points 2 weeks ago

Path separators in my date strings? Hell no!

[-] Zachariah@lemmy.world 3 points 2 weeks ago

Sanitize your inputs. Become delimiter agnostic!

[-] deegeese@sopuli.xyz 2 points 2 weeks ago

I control the date format, why would I choose something that requires additional logic to handle?

[-] Zachariah@lemmy.world 1 points 2 weeks ago

RedWeasel loaded slashes into your stream today though.

[-] deegeese@sopuli.xyz 1 points 2 weeks ago

This is a discussion about choice of date format, not choice of date parser.

this post was submitted on 20 Sep 2024
87 points (89.2% liked)

Programmer Humor

32192 readers
436 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS