Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Persian calendar leap year issue #7421

Copy link
Copy link
Open
@Vahid-Taheri

Description

@Vahid-Taheri
Issue body actions

Hello,
In the Persian calendar(Jalali), 1403 was a leap year, and the 12th month had 30 days. In other words, 2025/03/20 should be converted to 1403/12/30, but it is converted to 1404/01/01.

I tried to find the reason, and I found out that plotly.js is using world-calendars package to convert calendars, and the main issue is related to this package, but it hasn't been updated for 8 years.

I want to change xaxis type to categorical data because I need data type features like changing format based on resolution, avoiding repetitive labels, etc.

Also, I tried to fix world-calendar and rebuild plotly.js and patch changes using patch-package, but it didn't work.

Is there any solution to use other libraries for converting dates to Persian with coverage of features, or fixing world-calendar issue?

Metadata

Metadata

Assignees

Labels

P2considered for next cycleconsidered for next cyclebugsomething brokensomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.