Skip to content
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

fault in convert date #289

Open
moreza-kaze opened this issue Apr 6, 2024 · 4 comments
Open

fault in convert date #289

moreza-kaze opened this issue Apr 6, 2024 · 4 comments

Comments

@moreza-kaze
Copy link

Dear Shahab
I want to convert Jalali date to gregorian with DateObject but my time is 01/30/1342 and when converting to any time even the number of fa data is one day error. The actual conversion date is 19/04/1963 but we have 20/04/1963
What should I do for this?
thanks for your help

@sohedev
Copy link

sohedev commented May 6, 2024

i have the same issue
the days are being shown in the year 1342 are fully wrong
Screenshot 2024-05-06 153741
image
regards

@shahabyazdi
Copy link
Owner

shahabyazdi commented May 18, 2024

سلام خوبید؟
فکر میکنم اینجا یک فرقی بین تقویم هجری شمسی و جلالی وجود داره. لطفا این مثال رو ببینید:
https://codesandbox.io/p/sandbox/jalali-or-shamsi-m6qd4x?file=%2Fsrc%2Findex.js
image
این مورد رو از اینجا هم چک کردم و همینطور بود:
image

@shahabyazdi shahabyazdi pinned this issue May 18, 2024
@sohedev
Copy link

sohedev commented May 19, 2024 via email

@shahabyazdi
Copy link
Owner

خواهش میکنم 🙏

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

No branches or pull requests

3 participants