this post was submitted on 20 Sep 2024
88 points (89.3% liked)

Programmer Humor

37448 readers
10 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] RedWeasel@lemmy.world 13 points 10 months ago (1 children)

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

[–] deegeese@sopuli.xyz 29 points 10 months ago (1 children)

Path separators in my date strings? Hell no!

[–] Zachariah@lemmy.world 3 points 10 months ago (1 children)

Sanitize your inputs. Become delimiter agnostic!

[–] deegeese@sopuli.xyz 2 points 10 months ago (1 children)

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

[–] Zachariah@lemmy.world 1 points 10 months ago (1 children)

RedWeasel loaded slashes into your stream today though.

[–] deegeese@sopuli.xyz 1 points 10 months ago

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