You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inLeapYear property gives incorrect status for the "islamic-umalqura" calendar. Some years with 355 days, as stated by the property 'daysInYear" are shown as "false" (i.e. non leap years) while the property should say "true". Others are the opposite.
In Islamic calendars a normal non-leap year is 354 days; while a leap year is 355 days.
Example: This year Islamic year 1445 AH under islamic-umalqura calendar is correctly show with a total of 354 days (i.e. a non-leap year), but the "inLeapYear" property gives "true" indicating that it is a leap year.
The text was updated successfully, but these errors were encountered:
Temporal.PlainDate{}
calendarId: "islamic-umalqura"
day: 1
dayOfWeek: 3
dayOfYear: 248// <== Incorrect day of year should be 1
daysInMonth: 29
daysInWeek: 7
daysInYear: 354// <== Correct
era: "ah"
eraYear: 1445
inLeapYear: true// incorrect should be false because it is a 354 day’s year
month: 1
monthCode: "M01"
monthsInYear: 12
weekOfYear: 29// should be 1
year: 1445
yearOfWeek: 2023// should be 1445
The dayOfYear and inLeapYear issues have been fixed by #2743. weekOfYear and yearOfWeek are pending on #2744 so let's close this and move any further discussion over to there.
The inLeapYear property gives incorrect status for the "islamic-umalqura" calendar. Some years with 355 days, as stated by the property 'daysInYear" are shown as "false" (i.e. non leap years) while the property should say "true". Others are the opposite.
In Islamic calendars a normal non-leap year is 354 days; while a leap year is 355 days.
Example: This year Islamic year 1445 AH under islamic-umalqura calendar is correctly show with a total of 354 days (i.e. a non-leap year), but the "inLeapYear" property gives "true" indicating that it is a leap year.
The text was updated successfully, but these errors were encountered: