Fullcalendar不显示IOS设备中的事件 [英] Fullcalendar not showing events in IOS devices

查看:154
本文介绍了Fullcalendar不显示IOS设备中的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的html页面之一中使用了Fullcalendar.在chrome和mozilla中运行正常.同样在Android设备上也可以正常工作.但是问题出在IOS设备上.

I have used Fullcalendar in one of my html page. It is working fine in chrome and mozilla. Also same is working fine in Android devices. But issue is with IOS device.

日历事件本身未加载.网上没有找到任何解决方案.请为此提供任何帮助.

Calendar events itself are not being loaded. Didn't found any solution for this on net. Please provide any help on this.

推荐答案

您是否在浏览器控制台中收到此弃用警告?

Do you get this deprecation warning in browser console?

弃用警告:提供的值不是公认的ISO格式. 的构造回落到js Date(),这是不可靠的 跨所有浏览器和版本.不建议使用非ISO日期格式 并将在即将发布的主要版本中删除.请参阅 http://momentjs.com/guides/#/warnings/js-date/了解更多信息.

Deprecation warning: value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.

如果是,请检查事件开始和结束的日期格式. 在我的应用中使用的是RFC822(非ISO),导致回退日期格式无法在iOS设备上运行.

If yes, check the date format for event start and end. In my app it was RFC822 (nonISO), causing fallback to date format not working on iOS devices.

将日期更改为 ISO8601 有助于解决我的问题.

Changing date parsing to ISO8601 helped in my case.

这篇关于Fullcalendar不显示IOS设备中的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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