From ced0a68ff5392a79863156ba3496250d7f06c6df Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Sat, 27 Apr 2024 13:19:20 +0200 Subject: [PATCH] fix: fix changelog date --- apps/codeimage/src/components/Changelog/resolveChangelog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codeimage/src/components/Changelog/resolveChangelog.ts b/apps/codeimage/src/components/Changelog/resolveChangelog.ts index 95e67d97e..3b76335a9 100644 --- a/apps/codeimage/src/components/Changelog/resolveChangelog.ts +++ b/apps/codeimage/src/components/Changelog/resolveChangelog.ts @@ -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 {