Y
Hacker News
new
|
ask
|
show
|
jobs
by
db48x
1311 days ago
But they‘re mostly trivial variations of each other, or durations that nobody uses at all.
1 comments
tim--
1311 days ago
That's the problem though. If you don't support the durations that nobody uses, then you can't fully support ISO8601 dates.
Every trivial variation is another if/switch statement.
link
db48x
1310 days ago
Durations are not used in places that need a timestamp, and visa versa. More applications need timestamps than need durations.
link
Every trivial variation is another if/switch statement.