iamkun / iamkun/dayjs

bug in jalali to gregorian

Open
#2,856 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I want to convert today jalali to gregorian but this show last day in gregorian
today in jalali is 1404/01/16 and in gregorian is 2025/04/05 but when convert show 2025/04/04

**Information**
- Day.js Version [e.g. v1.11.13]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Jalali-to-Gregorian conversion described in the issue for 1404/01/16, using the reported expected result of 2025/04/05. Inspect the relevant Day.js Jalali conversion entry point and existing tests, if present. Done means the conversion returns the correct Gregorian date and regression coverage is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.