mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Idea : initialize calendar view scroll at time
https://www.freecodecamp.org/news/the-ultimate-guide-to-javascript-date-and-moment-js/#format-the-date-and-time-with-moment-js
This commit is contained in:
parent
b292e10c13
commit
b448836ee9
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue