Skip to content

Commit

Permalink
change index for week
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemark committed Jan 2, 2025
1 parent 073ba10 commit f763045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-calendar/src/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import WeekView from './WeekView.js';

const baseClassName = 'react-calendar';
const allViews = ['century', 'decade', 'year', 'month', 'week'] as const;
const allValueTypes = ['decade', 'year', 'month', 'week', 'day'] as const;
const allValueTypes = ['decade', 'year', 'month', 'day', 'day'] as const;

const defaultMinDate = new Date();
defaultMinDate.setFullYear(1, 0, 1);
Expand Down

0 comments on commit f763045

Please sign in to comment.