You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering that moment is used for formatting of date-related stuff in datepicker (e.g. month+year in calendar header), why is it not used to obtain weekdays?
Considering that
moment
is used for formatting of date-related stuff in datepicker (e.g.month+year
in calendar header), why is it not used to obtain weekdays?I am currently setting it as
I assume this would be sensible default - also taking into account
locale
property of<Datepicker />
?Current implementation also overrides moment locale setting with
weekdays
as set inDatepicker
(https://github.com/Hacker0x01/react-datepicker/blob/master/src/calendar.jsx#L59), which can be rather surprising for the user of the component.The text was updated successfully, but these errors were encountered: