Merge pull request #1507 from sudwebdesign/develop-idea-calendar-init-time-at-now

Idea : initialize calendar view scroll at time
This commit is contained in:
Alex Tselegidis 2024-04-26 17:08:34 +02:00 committed by GitHub
commit 4845e9d8a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1485,7 +1485,7 @@ App.Utils.CalendarDefaultView = (function () {
firstDay: firstWeekdayNumber,
slotDuration: '00:15:00',
snapDuration: '00:15:00',
scrollTime: '07:00:00',
scrollTime: moment().format('HH') + ':00:00',
slotLabelInterval: '01:00',
eventTimeFormat: timeFormat,
eventTextColor: '#333',

View file

@ -697,7 +697,7 @@ App.Utils.CalendarTableView = (function () {
firstDay: firstWeekdayNumber,
slotDuration: '00:15:00',
snapDuration: '00:15:00',
scrollTime: '07:00:00',
scrollTime: moment().format('HH') + ':00:00',
slotLabelInterval: '01:00',
eventTimeFormat: timeFormat,
eventTextColor: '#333',