84
submitted 3 months 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 3 months ago

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

[-] deegeese@sopuli.xyz 30 points 3 months ago

Path separators in my date strings? Hell no!

[-] Zachariah@lemmy.world 3 points 3 months ago

Sanitize your inputs. Become delimiter agnostic!

[-] deegeese@sopuli.xyz 2 points 3 months ago

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

[-] Zachariah@lemmy.world 1 points 3 months ago

RedWeasel loaded slashes into your stream today though.

[-] deegeese@sopuli.xyz 1 points 3 months ago

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

this post was submitted on 20 Sep 2024
84 points (88.9% liked)

Programmer Humor

32706 readers
1170 users here now

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

Rules:

founded 5 years ago
MODERATORS