admin管理员组文章数量:1327945
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 talking 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:
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 talking 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
Share Improve this question edited Dec 3, 2010 at 9:49 Jason94 asked Dec 3, 2010 at 9:27 Jason94Jason94 13.6k37 gold badges113 silver badges189 bronze badges 2- look at the last part of my answer it changes just that – Breezer Commented Dec 3, 2010 at 9:54
- there i go! +1 and accepted answere to you Breezer, thank you! – Jason94 Commented Dec 3, 2010 at 10:02
1 Answer
Reset to default 8check this out
http://arshaw./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./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',
本文标签: javascriptShowing 0600 instead of 6am in FullCalendarStack Overflow
版权声明:本文标题:javascript - Showing 06:00 instead of 6am in FullCalendar - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742225024a2436153.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论