You want to display the Hebrew date at the top of each cell? We have not tried that but you can probably do that with a FullCalendar dayCellContent render hook. This would be a custom JavaScript function you write to convert from Gregorian date to Hebrew date using the HDate class from @hebcal/core.

https://fullcalendar.io/docs/day-cell-render-hooks

Under review

Hi, thanks for using the Hebcal APIs.

We are sorry we don't understand your question about combining Hebrew dates.


Could you paste a code sample and a screenshot or a URL of your demo explaining better what you see and more detail about what you wish to see?

There is extensive documentation about FullCalendar at their website

https://fullcalendar.io/docs/event-display

+1

Thank you so much - this really helped me!

Image 288

Completed

Great! Glad this worked for you.

This is the code for my calander:

<FullCalendar 

plugins={[dayGridPlugin, interactionPlugin]} 

headerToolbar={{ right: 'today prev,next', center: '', left: 'title' }}

titleFormat={{ year: 'numeric', month: 'long' }} 

eventDrop={onDrop}

initialView="dayGridMonth"

editable={true} 

dayMaxEvents={true}

events={[...hebrewDates, ...currentEvents]}

droppable={true} 

weekends={true}

initialEvents={[...hebrewDates, ...currentEvents]} 

eventContent={RenderEventContent}

eventClick={onEventClick} />

I want the Hebrew date to enter in the date and not an additional event for the day

And that's how it looks:

Image 284