mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
use ISO dateformat on the frontend instead of european formatting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user