A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: fix date is off by one month
ammarahm-ed0a3ef4bc0a02
diff --git a/packages/editor/src/extensions/date-time/date-time.ts b/packages/editor/src/extensions/date-time/date-time.tsindex ad63c255b..aa58e449f 100644--- a/packages/editor/src/extensions/date-time/date-time.ts+++ b/packages/editor/src/extensions/date-time/date-time.ts@@ -114,7 +114,7 @@ function currentDate() {function getISO8601Date(): string {const year = new Date().getFullYear();- const month = new Date().getMonth();+ const month = new Date().getMonth() + 1;const day = new Date().getDate();return `${year}-${month}-${day}`;}