Open JoryHogeveen opened 1 year ago
@zrothauser Passing this one onto you. I did some work here (https://github.com/pods-framework/pods/commit/6e0c762bab617a6a88c66c3bce36503f8cf2753e) but it's not enough. I don't know what we can do to get MomentJS / react-datetime on board with the locale. Everything else looks translated including custom date formats in the input text but the calendars just always end up with Su, Mo, Tu, We, Th, Fr, Sa.
The demo here seems to show that it's possible, so something must be going wrong in our implementation, perhaps because we are passing in a moment object for the current value?
https://codesandbox.io/s/heuristic-ully-2duehb?file=/src/App.js
Description
MomentJS isn't properly loading locales as found online (or on node). It should also translate the week days and change the start of the week, however, only the months are translated
Version
2.9.10
Testing Instructions