Skip to content

Commit

Permalink
fix start day week
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav-H committed Jun 30, 2023
1 parent 0771d00 commit e157ac9
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 e157ac9

Please sign in to comment.