Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hijri to Gregorian is not correct #22

Open
RabieAli95 opened this issue Apr 30, 2022 · 1 comment
Open

Hijri to Gregorian is not correct #22

RabieAli95 opened this issue Apr 30, 2022 · 1 comment

Comments

@RabieAli95
Copy link

$date = Hijri::convertToGregorian(1, 16, 1401);

// output is "1982-01-25" and it should be "1980-11-24"

According to this website that converts Hijri to Gregorian

https://beseyat.com/calendars/en/date-converter-hijri-gregorian.php

@RabieAli95 RabieAli95 changed the title Hijri and Gregorian does not work Hijri and Gregorian is not correct Apr 30, 2022
@RabieAli95 RabieAli95 changed the title Hijri and Gregorian is not correct Hijri to Gregorian is not correct Apr 30, 2022
@rcweb2
Copy link

rcweb2 commented Jun 14, 2023

use format (day,month,year) it's work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants