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

moment('1402-01-02', 'jYYYY-jMM-JDD').format('jYYYY-jMM-jDD') return 1402-01-01 #136

Open
s11eta1yek opened this issue Dec 1, 2023 · 0 comments

Comments

@s11eta1yek
Copy link

I don't know what the problem is, but there is an issue with the first and second days of any year.

if you add(1, 'day') to the first day of the year, it returns the same day again. you do it two times, and then it returns the second day of the year.

and also moment('1402-01-02', 'jYYYY-jMM-JDD').format('jYYYY-jMM-jDD') return 1402-01-01.

I think it's pretty self explainatory. plz help. tnx.

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

1 participant