Skip to content

Commit

Permalink
Idea : initialize calendar view scroll at time
Browse files Browse the repository at this point in the history
  • Loading branch information
sudwebdesign committed Apr 23, 2024
1 parent b292e10 commit b448836
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
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,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
Original file line number Diff line number Diff line change
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 b448836

Please sign in to comment.