We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isSameMonth method returns true even if two dates aren't in the same Hijri month
isSameMonth
const date1 = hijri.date("10/06/2020"); const date2 = hijri.addHours(date1, 13 * 24); date1.format("iYYYY/iM/iD") // 1442/2/19 date2.format("iYYYY/iM/iD") // 1442/3/2 hijri.isSameMonth(date1, date2) // true (it should return false)
Here is a link to reproduce the issue: link
The text was updated successfully, but these errors were encountered:
No branches or pull requests
isSameMonth
method returns true even if two dates aren't in the same Hijri monthHere is a link to reproduce the issue: link
The text was updated successfully, but these errors were encountered: