Skip to content

Method dateCorrection is not working #36

@alhoqbani

Description

@alhoqbani

The method dateCorrection is supposed to calculate the correction factor for the Hijri date conversion based on Um Alqura calendar. It supports date range 1420-1459, and should return a correction factor range from -2 to +2.

However, the method is not working and almost always returns 0.

I have tested every month from the supported range (1420-1459). Out of 456 tested months, only 21 months returned a value different than 0, which does not seem right.

This commit a121197 adds a test to check the functionality of the method.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions