mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
Merge branch 'master' into m41
# Conflicts: # src/public/javascripts/services/sidebar.js # src/public/javascripts/services/tab_context.js # src/public/javascripts/services/tree.js
This commit is contained in:
@@ -43,7 +43,7 @@ class CalendarWidget extends StandardWidget {
|
||||
}
|
||||
|
||||
init($el, activeDate) {
|
||||
this.activeDate = new Date(Date.parse(activeDate));
|
||||
this.activeDate = new Date(activeDate + "T12:00:00"); // attaching time fixes local timezone handling
|
||||
this.todaysDate = new Date();
|
||||
this.date = new Date(this.activeDate.getTime());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user