FullCalendar - 周视图标题中的ümlaut [英] FullCalendar - ümlaut in Week View Title

查看:373
本文介绍了FullCalendar - 周视图标题中的ümlaut的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人遇到这个奇怪的问题?



我似乎无法在FullCalendar.io中覆盖此格式。



我只是想用短划线( - )而不是ümlaut'W'。



目前的代码如下:

 标题:{
left:'prev,next today',
center:'title',
right:'month,agendaweek,agendaDay'
},
lang:'en',

views:{
议程:{
minTime:'06:00',
maxTime:'19:00'
},
周:{
titleFormat:'MMM D YYYY'
},
}

解决方案

我发现你可以自己设置分隔符像这样:

  titleRangeSeparator: - 

只需在选项末尾添加它,它就可以工作。


Has anyone run into this strange issue?

I can't seem to override this formatting in FullCalendar.io.

I am simply looking to use a dash ("-") rather than the ümlaut 'W'.

Current code is as below:

header: {
    left: 'prev,next today',
    center: 'title',
    right: 'month,agendaWeek,agendaDay'
},
lang: 'en',

views: {
    agenda: {
        minTime: '06:00',
        maxTime: '19:00'
    },
    week: {
        titleFormat: 'MMM D YYYY'
    },
}

解决方案

I found you can set the separator yourself like this:

titleRangeSeparator: "-"

Just add it at the end of the options and it should work.

这篇关于FullCalendar - 周视图标题中的ümlaut的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆