问题描述
我正在使用,我想我做错了什么。当我设置属性 ignoreTimezone:
true,但它似乎不工作,它总是显示时间根据+5:30(本地时区),何时我设定了时间(通过使用PHP转换到另一个时区),总是按照+530显示
在这里,时间显示15:00:00-17:00:00 ,但是在日历中,它会显示19:30:00-21:30:00之类的东西,例如加上+5:30,而我将ignoreTimezone设置为true。
任何想法
如果你想设置任何指定的时区,你可以试试这段代码。 b
$ b
date_default_timezone_set('Asia / Calcutta');
$ script_tz = date_default_timezone_get();
I am using full Calendar and i think i m doing something wrong. As i set the property ignoreTimezone:
"true", but it doesn't seems to work, it always displays the time according to +5:30(local Timezone), when i set the time (by converting in to another timezone using PHP), always displays according to +530
As here, time shows "15:00:00-17:00:00", but in calendar it displays somthing this "19:30:00-21:30:00" i.e adding with +5:30, instead i set the ignoreTimezone to true.
Any idea
if you want set any specify time zone you can try this code..
date_default_timezone_set('Asia/Calcutta');
$script_tz = date_default_timezone_get();
这篇关于fullCalendar ignoreTimezone似乎不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!