Skip to content

Commit

Permalink
Merge pull request #65 from 001elijah/fix-start-day-week
Browse files Browse the repository at this point in the history
fix start day week
  • Loading branch information
001elijah committed Jun 30, 2023
2 parents 0771d00 + e157ac9 commit 5868b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CalendarDark/CalendarDark.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const CalendarDark = ({ onDate, deadline = String(new Date()) }) => {
selected={Date.parse(startDate)}
calendarClassName={s.calendarConatiner}
popperClassName={s.popperCustomClass}
calendarStartDay={1}
// formatWeekDay={day => day.substr(0, 2)}
customInput={
<CalendarButton
Expand Down
1 change: 1 addition & 0 deletions src/components/CalendarLight/CalendarLight.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const CalendarLight = ({ onDate, deadline = String(new Date()) }) => {
selected={Date.parse(startDate)}
calendarClassName={s.calendarConatiner}
popperClassName={s.popperCustomClass}
calendarStartDay={1}
// formatWeekDay={day => day.substr(0, 2)}
customInput={
<CalendarButton
Expand Down

0 comments on commit 5868b69

Please sign in to comment.