Closed timbrandin closed 8 years ago
Thanks for writing this. I have two concerns.
start
date, since you can set the locale on individual Moment objects.en
is the only locale where these slots should be that way.Could we do something like this?
americanish = (m) ->
f = m.localeData()._longDateFormat["L"]
f.indexOf("M") < f.indexOf("D")
and then check that?
Sounds like a great plan, I'll add that.
Closing in favor of #89. @timbrandin I'd appreciate your comments there.
Switching order depending on locale, "en" => month first, other locale => month after (solves most of all needs). Isn't it odd that Americans and just a few others put month before the date: https://en.wikipedia.org/wiki/Date_format_by_country