Opened 10 years ago

Closed 9 years ago

#15924 closed feature (duplicate)

[no cla]Persian (Jalali) calendar feature in dojo 1.8.0

Reported by: MISYS_UXP Owned by:
Priority: undecided Milestone: tbd
Component: Dojox Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:


Calendar Overview: The first six months (Farvardin–Shahrivar) have 31 days, the next five (Mehr–Bahman) have 30 days, and the last month (Esfand) has 29 days or 30 days in leap years. This is a simplification of the Jalali calendar, in which the commencement of the month is tied to the sun's passage from one zodiacal sign to the next. The sun is travelling fastest through the signs in early January (Dej) and slowest in early July (Tir).

The Solar Hejri calendar (گاهشماری هجری خورشیدی یا هجری شمسی) produces a five-year leap year interval after about every seven four-year leap year intervals. It usually follows a 33-year cycle with occasional interruptions by single 29-year or 37-year sub cycles. The reason for this behavior is that it tracks the observed vernal equinox. By contrast, some less accurate predictive algorithms are suggestion based on confusion between average tropical year


We have added the Persian (Jalali) calendar feature in dojo 1.8.0. This calendar will work the same like other calendars Buddhist, Hebrew and Islamic. The calendar calculations are based on solar cycle. I am attaching calendar implementation code along with the license. All the developed files are created newly and I have taken the base code from Islamic calendar

Attachments (1) (18.4 KB) - added by MISYS_UXP 10 years ago.
Implementation Code

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by MISYS_UXP

Attachment: added

Implementation Code

comment:1 Changed 10 years ago by bill

Component: GeneralDojox
Owner: set to Adam Peller
Status: newassigned

If this went anywhere in dojo it would presumably be dojox/date, with the hebrew and buddhist calendars. Adam?

Last edited 10 years ago by bill (previous) (diff)

comment:2 Changed 10 years ago by Adam Peller

Owner: Adam Peller deleted
Status: assignedopen
Summary: Persian (Jalali) calendar feature in dojo 1.8.0[no cla]Persian (Jalali) calendar feature in dojo 1.8.0

No cla, though at this point, new contributions should probably go to github. cldr info should be generated from ldml rather than hand-crafted.

comment:3 Changed 10 years ago by Adam Peller

github contributions to the foundation should also be under CLA.

comment:4 Changed 9 years ago by Adam Peller

Resolution: duplicate
Status: openclosed

see #16581

Note: See TracTickets for help on using tickets.