We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 766ad82 + 3a6df93 commit 994a1a8Copy full SHA for 994a1a8
src/components/Calendar/Months.tsx
@@ -30,7 +30,7 @@ const Months = (props: Props) => {
30
}}
31
active={currentMonth === item}
32
>
33
- {dateFormat(new Date(`2022-${item}-01`), "MMM", i18n)}
+ {dateFormat(new Date(2022, item - 1, 1), "MMM", i18n)}
34
</RoundedButton>
35
))}
36
</div>
0 commit comments