Yardım

0

change calendar time width

Avatar
Shivam Dudhat

how to increase calendar line width like width 1am-2am

and I want the specific time of today like 10:00 am to 7:00 pm

Avatar
Vazgeç
1 Cevap
0
Avatar
Stella Fredö
En iyi cevap

now sure if I understand what you want to change.

/addons/web_calendar/static/lib/fullcalendar/js/fullcalendar.js

changed:

setDefaults({

allDaySlot: true,

allDayText: 'all-day',

firstHour: 6,

slotMinutes: 15,

defaultEventMinutes: 120,

axisFormat: 'h(:mm)tt',

timeFormat: {

agenda: 'h:mm{ - h:mm}'

},

dragOpacity: {

agenda: .5

},

minTime: 7,

maxTime: 16,

slotEventOverlap: true

});

Avatar
Vazgeç