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
Hello,
I tried to use this library but I found that there are no support for the Hijri Calendar "umm alqura".
This is an example:
$date_gregorian = \GeniusTS\HijriDate\Hijri::convertToGregorian(01, 04, 1440);
it should return the Gregorian date "2018-12-08" based on the official Hijri calendar (http://www.ummulqura.org.sa). But in fact, it returns "2018-12-09".
Note that, all days in the month "03" are valid but starting from the month "04" it will return wrong date. It seems that, it counts 30 days in the month "03" which is wrong as it is 29 days.
The text was updated successfully, but these errors were encountered:
mohamad-dekmak
changed the title
No support for um malqura calendar
No support for "umm alqura" calendar
Nov 14, 2018
Hello,
I tried to use this library but I found that there are no support for the Hijri Calendar "umm alqura".
This is an example:
$date_gregorian = \GeniusTS\HijriDate\Hijri::convertToGregorian(01, 04, 1440);
it should return the Gregorian date "2018-12-08" based on the official Hijri calendar (http://www.ummulqura.org.sa). But in fact, it returns "2018-12-09".
Note that, all days in the month "03" are valid but starting from the month "04" it will return wrong date. It seems that, it counts 30 days in the month "03" which is wrong as it is 29 days.
The text was updated successfully, but these errors were encountered: