Skip to content

Commit

Permalink
fix: fix changelog date
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Apr 27, 2024
1 parent c8ae8b3 commit ced0a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function resolveChangelog(props: ChangelogEntry) {
const [month, day, year] = data()
.date.split('-')
.map(str => parseInt(str, 10));
return new Date(year, month, day);
return new Date(year, month - 1, day);
};

return {
Expand Down

0 comments on commit ced0a68

Please sign in to comment.