mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
notes are now created with correct local dates
This commit is contained in:
@@ -144,7 +144,7 @@ async function getWeekNote(dateStr, options = {}) {
|
||||
|
||||
const dateObj = getStartOfTheWeek(dateUtils.parseLocalDate(dateStr), startOfTheWeek);
|
||||
|
||||
dateStr = dateUtils.dateStr(dateObj);
|
||||
dateStr = dateUtils.utcDateStr(dateObj);
|
||||
|
||||
return getDateNote(dateStr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user