Skip to content

Commit

Permalink
Merge pull request #1507 from sudwebdesign/develop-idea-calendar-init…
Browse files Browse the repository at this point in the history
…-time-at-now

Idea : initialize calendar view scroll at time
  • Loading branch information
alextselegidis committed Apr 26, 2024
2 parents bd9160a + b448836 commit 4845e9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/utils/calendar_default_view.js
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion assets/js/utils/calendar_table_view.js
Expand Up @@ -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',
Expand Down

0 comments on commit 4845e9d

Please sign in to comment.