Skip to content

No support for "umm alqura" calendar #12

@mohamad-dekmak

Description

@mohamad-dekmak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions