News for hackers. Stuff that matters.
Re:Nasa clears SpaceX test flight to space station by anarcticpuffin on Tuesday February 26, 2019 @09:45AM (#19254650)
This is why it's good practice to just never use MM/DD or DD/MM dates anywhere. 2-Mar or 2-MAR is nearly as terse but much less ambiguous. The only other date format I default to is YYYY-MM-DD (i.e. 2019-03-02). It sorts well and, by putting the year first, doesn't pick a side in the MM/DD or DD/MM battle. It just lists the terms in descending significance.
Re:Nasa clears SpaceX test flight to space station by weavie on Tuesday February 26, 2019 @10:37AM (#19255098)
So much of my life has been wasted because people want their dates formatted dd/mm/yyyy in their browser..
Re:Nasa clears SpaceX test flight to space station by cmroanirgo on Tuesday February 26, 2019 @08:32PM (#19260101)
So much of my life has been wasted because people want their dates formatted mm/dd/yyyy in their browser..

;-)

Re:Nasa clears SpaceX test flight to space station by mattashii on Tuesday February 26, 2019 @04:32PM (#19258481)
Formatting, sure, but inputs...

One of our customer integrations uses all of MM-DD-YY, YY-MM-DD and DD-MM-YY for a date input. Took us quite a few man-hours to figure out why our integration layer failed so often.

Re:Nasa clears SpaceX test flight to space station by konschubert on Tuesday February 26, 2019 @02:07PM (#19257307)
Use Moment.js
Re:Nasa clears SpaceX test flight to space station by magnamerc on Tuesday February 26, 2019 @04:11PM (#19258338)
I'm an engineer in the aviation industry and I stick exclusively to DD-MMM-YY (26-Feb-19). Too many different formats used globally.
Re:Nasa clears SpaceX test flight to space station by randallsquared on Tuesday February 26, 2019 @10:47PM (#19260690)
Unless you use four digits for the year all the time, it will remain ambiguous.
Re:Nasa clears SpaceX test flight to space station by WhyNotHugo on Wednesday February 27, 2019 @04:55PM (#19267306)
That would automatically look like 2026-02-19 to me. It's an odd order TBH, though I'll admit that DD-MMM-YYYY would be unambiguous.
Re:Nasa clears SpaceX test flight to space station by bradknowles on Tuesday February 26, 2019 @10:59PM (#19260754)
ISO-8601 FTW!