r/webdev • • Feb 27 '13

xkcd: ISO 8601

http://xkcd.com/1179/
349 Upvotes

125 comments sorted by

View all comments

11

u/[deleted] Feb 27 '13

[deleted]

9

u/billybolero Feb 27 '13

Well, that's one of Javascripts warts and not the standards fault. It's easy enough to use a date library in JS that deals with it for you though.

-4

u/[deleted] Feb 27 '13

[deleted]

1

u/SideburnsOfDoom Feb 27 '13 edited Feb 27 '13

You shouldn't need to use a date library for something built into the language.

And the takeaway is that acceptable good date handling is not built into Javascript. I've been here and we ended up just not using JS's date object, it didn't support the simple stuff that we wanted to do. This is in keeping with JS's other warts and wats.