Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bhaak
on Jan 4, 2022
|
parent
|
context
|
favorite
| on:
Do not use 'week year': YYYY
I don‘t know how many times I used the wrong M in various date formatters.
Format specifiers shouldn’t be case sensitive. Better mnemonics would be even better.
Cthulhu_
on Jan 4, 2022
[–]
It really is its own little DSL, and often subtly different yet similar enough across various languages. Compare also with printf and regular expressions.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Format specifiers shouldn’t be case sensitive. Better mnemonics would be even better.