mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
use ISO dateformat on the frontend instead of european formatting
This commit is contained in:
parent
b897c6de13
commit
f440493e45
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user