-
Notifications
You must be signed in to change notification settings - Fork 68
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
After converting, the date always comes back one day off #126
Comments
try this:
|
Hi please create a demo for the issues |
I have the same issue. When converting a gregorian date to persian date. The date comes back ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I convert the Shamsi date to gregorian date with the following snippet:
Now, the day is 23, After converting the result to the date object the day will get 22, Why?
const date = new Date(result); // 2022-08-22T19:30:00.000Z
The text was updated successfully, but these errors were encountered: