doupi7619 2016-06-01 19:11
浏览 42

fc-time在事件中没有完全显示'am'或'pm' - 缺少最终字符

My FullCalendar is having trouble showing the full time, inclusive of the 'am' or 'pm' bit.

It's cutting off the final character, so for example, fc-time is shown as: "9:45a" instead of "9:45am", or "10:24p" instead of "10.24pm".

What do I need to change so that it shows the final character for fc-time items?

Thanks in advance.

  • 写回答

1条回答 默认 最新

  • douzhen5158 2016-06-02 08:52
    关注

    By default, FullCalendar shows the timed event in this format 9:45a,12a this is not a problem actually,

    check this demo for fullcalendar and this example

    events:[
    {title:'Event1',start:new Date(2016,05,02),end:new Date(2016,05,04),color:'green'},
    {title:'Event12',start:new Date(2016,05,02),end:new Date(2016,05,04),color:'red'},
    {title:'Event13',start:new Date(2016,05,02),end:new Date(2016,05,04)}
    ]
    
    评论

报告相同问题?