Open kiki-le-singe opened 6 years ago
Hello,
Is it possible to set the first day of week like (react-dates)[https://github.com/airbnb/react-dates] from airbnb ?
firstDayOfWeek: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),
Actually I would like to start the week on Monday :)
Thank you for your help
instead of for (let i = 0; i < 7; i++) in Month.js. You should make a foreach on const tab = [1, 2, 3, 4, 5, 6, 0]; For MomentJS, 1 is Monday / 0 is Sunday
for (let i = 0; i < 7; i++)
const tab = [1, 2, 3, 4, 5, 6, 0];
Thanks you!!!
Hello,
Is it possible to set the first day of week like (react-dates)[https://github.com/airbnb/react-dates] from airbnb ?
Actually I would like to start the week on Monday :)
Thank you for your help