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
core: make dateFormat optional
Abdullah Attacb778d7e3577
diff --git a/packages/core/src/utils/date.js b/packages/core/src/utils/date.jsindex bb4568a08..5aa1c671b 100644--- a/packages/core/src/utils/date.js+++ b/packages/core/src/utils/date.js@@ -70,7 +70,7 @@ export function getTimeFormat(format) {/**** @param {string | number | Date | null | undefined} date- * @param {{dateFormat: string, timeFormat?: string, type: "date-time" | "time" | "date"}} options+ * @param {{dateFormat?: string, timeFormat?: string, type: "date-time" | "time" | "date"}} options* @returns*/export function formatDate(