Add customization and calendar Pr vision

This commit is contained in:
2021-02-01 12:05:17 +01:00
parent 7c7055ee8c
commit 4e7deb50a5
5 changed files with 31 additions and 22 deletions
+4 -1
View File
@@ -97,7 +97,7 @@ export class AgendaPage implements OnInit {
};
selectedDate: Date;
eventSelectedDate: Date;
eventSelectedDate: Date = new Date();
eventSelectedDate2: Date;
rangeStartDate: Date;
rangeEndDate: Date;
@@ -172,6 +172,9 @@ export class AgendaPage implements OnInit {
}
timelineIsCurrentDate(): Boolean {
return formatDate(new Date(),'dd MMMM yyyy', 'pt') == formatDate(this.eventSelectedDate,'dd MMMM yyyy', 'pt');
}
//Go to the next view of the calendar month/week/day
next(){