开发者

Showing 06:00 instead of 6am in FullCalendar

If you choose to view a week or day the left column will by default show 6am, 7am and so on. How do i go about to make it show 06:00, 07:00 and so on instead?

Edit: im talk开发者_Go百科ing about the left column i weekview and dayview that by default is 6am, 7am, 8am. NOT the timestamp in the events.

To further point out the problem i want to changes the am/pm to 24hour times for the highlighted part of the image: http://bildr.no/view/770893

Showing 06:00 instead of 6am in FullCalendar


check this out

http://arshaw.com/fullcalendar/docs/text/timeFormat/

you should always check documentation before anything else just a tip

try this

    day: 'h:mm{ - h:mm}', // 5:00 - 6:30
    week: 'h:mm{ - h:mm}', // 5:00 - 6:30

or this one might be it

http://arshaw.com/fullcalendar/docs/agenda/axisFormat/ i think it's this one tbh :P

like this

axisFormat: 'h:mm{ - h:mm}',

FOR A 24 HOUR CLOCK U CHANGE THE CONTENT TO

axisFormat: 'H:mm',
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜