mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +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
3b5a2e76a7
commit
626d777bbb
2 changed files with 2 additions and 2 deletions
|
@ -1485,7 +1485,7 @@ App.Utils.CalendarDefaultView = (function () {
|
||||||
firstDay: firstWeekdayNumber,
|
firstDay: firstWeekdayNumber,
|
||||||
slotDuration: '00:15:00',
|
slotDuration: '00:15:00',
|
||||||
snapDuration: '00:15:00',
|
snapDuration: '00:15:00',
|
||||||
scrollTime: '07:00:00',
|
scrollTime: moment().format('HH') + ':00:00',
|
||||||
slotLabelInterval: '01:00',
|
slotLabelInterval: '01:00',
|
||||||
eventTimeFormat: timeFormat,
|
eventTimeFormat: timeFormat,
|
||||||
eventTextColor: '#333',
|
eventTextColor: '#333',
|
||||||
|
|
|
@ -697,7 +697,7 @@ App.Utils.CalendarTableView = (function () {
|
||||||
firstDay: firstWeekdayNumber,
|
firstDay: firstWeekdayNumber,
|
||||||
slotDuration: '00:15:00',
|
slotDuration: '00:15:00',
|
||||||
snapDuration: '00:15:00',
|
snapDuration: '00:15:00',
|
||||||
scrollTime: '07:00:00',
|
scrollTime: moment().format('HH') + ':00:00',
|
||||||
slotLabelInterval: '01:00',
|
slotLabelInterval: '01:00',
|
||||||
eventTimeFormat: timeFormat,
|
eventTimeFormat: timeFormat,
|
||||||
eventTextColor: '#333',
|
eventTextColor: '#333',
|
||||||
|
|
Loading…
Reference in a new issue