Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
emodendroket
8y ago
0 comments
Share
I really wish it had a format for dates.
0 comments
default
newest
oldest
TheAceOfHearts
8y ago
ISO 8601 [0] defines the standard for data elements and interchange formats. It's widely supported on all major programming languages.
The only issue is having to manually convert the string.
[0]
https://en.wikipedia.org/wiki/ISO_8601
emodendroket
OP
8y ago
It's not defined as the standard date representation for JSON, nor is anything else, so every library does its own incompatible thing.
hutzlibu
8y ago
I use just a "time" number for it (but I also do not have dates before 1970)
emodendroket
OP
8y ago
Well the fact that you and the other guy offered different "standards" to use is kind of exactly my point.
j
/
k
navigate · click thread line to collapse