search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Hebrew Calendar

Asked by Nirav
11 years ago.


I am currently using DayPilot Pro in my project and I am displaying it in different languages using the "culture" property.

I am also using the Hebrew culture but now I want to show the scheduler control in Hebrew format.

For example currently in Hebrew format it is year 5772 and in English Calendar it is year 2012.
So I want the whole scheduler to be converted in the Hebrew calendar. I want to show the scheduler in the Hebrew language and in Hebrew format.

Answer posted by Dan Letecky [DayPilot]
11 years ago.

All the controls allow to override the headers with custom text/html. The internal calculations need to be based on the Gregorian calendar but you should be able to convert each date displayed to Hebrew calendar and override the text accordingly.

It looks like the HebrewCalendar class could be used for the conversion:

Than you can use DayPilotScheduler.BeforeTimeHeaderRender, DayPilotCalendar.BeforeHeaderRender, and DayPilotMonth.BeforeCellRender to override the day names.

Comment posted by Dan Letecky [DayPilot]
11 years ago.

It will be possible to use a Hebrew calendar in version 7.1:

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.