在Fullcalendar跳过星期五 [英] Skip Friday in Fullcalendar

查看:82
本文介绍了在Fullcalendar跳过星期五的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在整个日历中隐藏星期五.假设星期五在迪拜度假.那我怎么能在整个日历中隐藏星期五

I want to hide Friday in full calendar. Suppose In Dubai Friday is holiday. So how can i hide Friday from full calendar

推荐答案

尝试此技巧,或者将其放在您自己的CSS中,或添加到fullcalendar.css

try this hack, either put it in your own css, or add to fullcalendar.css

.fc-fri {display:none; }

.fc-fri { display:none; }

这假设您已经设置了Weeks = true.但是我不知道如果您的事情持续到星期五,这是否会搞乱事件呈现...

this assuming you already set weekends = true. But i dont know if this will mess up event rendering if you have things that extend through Friday...

如果不成功,请修改fullcalendar.js并查找周末",以及额外的一天来跳过周末.

failing that, modify fullcalendar.js and look for "weekends", and an extra day to skipWeekend.

这篇关于在Fullcalendar跳过星期五的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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