Skip to content

Fix leap year calculation in solar Persian/Jalali calendars #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 11, 2025

Conversation

archmoj
Copy link

@archmoj archmoj commented Jul 11, 2025

Fixing bug reported in plotly/plotly.js#7421

archmoj added 3 commits July 11, 2025 10:59
 - fixes 1403SH to be a leap year while produce identical leap years
   between 475SH (1096AD) and 1530SH (2151AD) i.e. when compared to
   previous implementation
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 I trust that you and the others who have real experience with this calendar have gotten the algorithm correct. The other changes here like removing the minified source files look great!

@archmoj archmoj merged commit 6f8bbac into master Jul 11, 2025
@archmoj archmoj deleted the fix-jalali-redo branch July 11, 2025 16:21
@archmoj
Copy link
Author

archmoj commented Jul 11, 2025

Released v1.0.4 to npm https://www.npmjs.com/package/world-calendars/v/1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants