Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
use ISO dateformat on the frontend instead of european formatting
azivnerf440493e45ac
diff --git a/src/public/javascripts/services/utils.js b/src/public/javascripts/services/utils.jsindex 95ccc25998..527b052efd 100644--- a/src/public/javascripts/services/utils.js+++ b/src/public/javascripts/services/utils.js@@ -24,7 +24,10 @@ function formatTimeWithSeconds(date) {}function formatDate(date) {- return padNum(date.getDate()) + ". " + padNum(date.getMonth() + 1) + ". " + date.getFullYear();+// return padNum(date.getDate()) + ". " + padNum(date.getMonth() + 1) + ". " + date.getFullYear();+ // instead of european format we'll just use ISO as that's pretty unambiguous++ return formatDateISO(date);}function formatDateISO(date) {