News for hackers. Stuff that matters.
Re:A cool way to use natural language in JavaScript by themartorana on Saturday May 14, 2016 @01:40PM (#11697209)
Everyone always looks at me funny when I write my dates as `yyyy-mm-dd` - until, that is, I explain that it sorts alphabetically perfectly. That's the moment I can convert people to ISO-8601 converts.
Re:A cool way to use natural language in JavaScript by gengkev on Sunday May 15, 2016 @02:08PM (#11701988)
I write dates that way too, but because mm/dd/yyy is ambiguous in an international context. Sorting correctly is great as well!