Skip to content

Persian calendar leap year issue #7421

@Vahid-Taheri

Description

@Vahid-Taheri

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 cyclebugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy