mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
add possibility to add whole iso date as date pattern, #1496
This commit is contained in:
@@ -141,6 +141,7 @@ function getDateNoteTitle(rootNote, dayNumber, dateObj) {
|
||||
|
||||
return pattern
|
||||
.replace(/{dayInMonthPadded}/g, dayNumber)
|
||||
.replace(/{isoDate}/g, dateUtils.localNowDate())
|
||||
.replace(/{weekDay}/g, weekDay)
|
||||
.replace(/{weekDay3}/g, weekDay.substr(0, 3))
|
||||
.replace(/{weekDay2}/g, weekDay.substr(0, 2));
|
||||
|
||||
Reference in New Issue
Block a user