You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to print the current month's name which is Shawwal, it always returns Ramadan this happened only in the 2022 year if I try past or next year it works fine
I was facing a similar issue.
When I try to get the start of the current Hijri month, it's getting the start of current Gregorian month which is the first of May. Then it gets the equivalent of that day in Hijri calendar which is in Shawwal and not Thul-Qi’dah as expected.
When I try to print the current month's name which is Shawwal, it always returns Ramadan this happened only in the 2022 year if I try past or next year it works fine
moment().add(1, "year").startOf("month").format("iMMMM")
The text was updated successfully, but these errors were encountered: