The sourcecode for the netlify datetime widget shows it uses react-datetime
under the hood.
According to those docs, you can pass in a locale there, which is how you'd make monday the day of the week. I would suggest copying the netlify datetime widget (sourcecode here) modifying it to pull in the requirementrs correctly, and then passing in a locale as a prop to the DateTime
widget within that.
(Previous answer was incorrect - I thought locales was the solution to this (it normally is with react-datetime
), but the netlify locales are only for providing language translations, my bad.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…