在fullcalendar.js中将h(:mm)tt和/ h:mm { - h:mm}更改为H.
setDefaults({
allDaySlot: true,
allDayText: 'all-day',
firstHour: 6,
slotMinutes: 30,
defaultEventMinutes: 120,
axisFormat: 'H', //,'h(:mm)tt',
timeFormat: {
agenda: 'H' //h:mm{ - h:mm}'
},
dragOpacity: {
agenda: .5
},
minTime: 0,
maxTime: 24
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10573 次 |
| 最近记录: |