iamkun / iamkun/dayjs

Converting the wrong Jalali date

Open
#2,907 1 comment 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

Hello and thanks for your great work on this package!

I’ve noticed that the Jalali calendar is showing dates with a 1-day offset ahead of the correct value.

📌 For example:
- **Today’s real date (Jalali):** ۱۴ مرداد ۱۴۰۴ (1404/05/14)
- **Displayed in antd-jalali calendar:** ۱۵ مرداد ۱۴۰۴ (1404/05/15)

This causes confusion for users as the selected date is not what is expected.
This problem exists in all versions.

Please let me know if you need a reproducible demo or sandbox.
I’d be happy to help with debugging or testing a fix!

Thanks again 🙏

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.