Skip to content
#

moment

Here are 474 public repositories matching this topic...

doggy8088
doggy8088 commented Jan 25, 2020

Description of the Issue and Steps to Reproduce:

Did you search for duplicate issue? Yes

Please describe the issue and steps to reproduce, preferably with a code sample / plunker:

Would you like to add ng-add schematics into this repo?

*Ensure your issue is isolated to ngx-moment. Issues involving third party tools will be closed unless submitted by the tool's author/main

hazem3500
hazem3500 commented Oct 6, 2020

isSameMonth method returns true even if two dates aren't in the same Hijri month

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](https://codesan

Improve this page

Add a description, image, and links to the moment topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the moment topic, visit your repo's landing page and select "manage topics."

Learn more