user8081981
user8081981

Reputation:

Hebrew calendar into FullCalendar library

I'm trying to integrate Hebrew calendar into FullCalendar library. There is a way to do it with already created functions of this library? library

If it's impossible how to do it manually? Thanks in advance!

Upvotes: 0

Views: 1145

Answers (1)

martin schwartz
martin schwartz

Reputation: 951

You can use Hebcal to import Hebrew dates and holidays to a FullCalendar calendar with just one line of code.

Here's a sample FullCalendar + Hebcal Hebrew calendar code snippet:

$("#calendar").fullCalendar({
    events: {
        url: "https://www.hebcal.com/hebcal/?cfg=fc&v=1&i=off&maj=on&min=on&nx=on&mf=on&ss=on&mod=on&lg=s&s=off&d=on",
        cache: true
    }
});

Upvotes: 1

Related Questions