ASA
In the US today, Feb 22nd, 2023, is the 2nd of the Sha'baan. However the API is returning the 1st of Sha'baan:
Rest call: http://api.aladhan.com/v1/gToH?date=22-02-2023&adjustment=0
Returns:
{"code":200,"status":"OK","data":{"hijri":{"date":"01-08-1444","format":"DD-MM-YYYY","day":"01","weekday":{"en":"Al Arba'a","ar":"\u0627\u0644\u0627\u0631\u0628\u0639\u0627\u0621"},"month":{"number":8,"en":"Sha\u02bfb\u0101n","ar":"\u0634\u064e\u0639\u0652\u0628\u0627\u0646"},"year":"1444","designation":{"abbreviated":"AH","expanded":"Anno Hegirae"},"holidays":[]},"gregorian":{"date":"22-02-2023","format":"DD-MM-YYYY","day":"22","weekday":{"en":"Wednesday"},"month":{"number":2,"en":"February"},"year":"2023","designation":{"abbreviated":"AD","expanded":"Anno Domini"}}}}
If I change the adjustment parameter to 1 I expected to see the API return the DAY as 2 but it still return 1.
Rest call: http://api.aladhan.com/v1/gToH?date=22-2-2023&adjustment=1
Returns:
‘’’
{"code":200,"status":"OK","data":{"hijri":{"date":"01-08-1444","format":"DD-MM-YYYY","day":"01","weekday":{"en":"Al Arba'a","ar":"\u0627\u0644\u0627\u0631\u0628\u0639\u0627\u0621"},"month":{"number":8,"en":"Sha\u02bfb\u0101n","ar":"\u0634\u064e\u0639\u0652\u0628\u0627\u0646"},"year":"1444","designation":{"abbreviated":"AH","expanded":"Anno Hegirae"},"holidays":[]},"gregorian":{"date":"22-02-2023","format":"DD-MM-YYYY","day":"22","weekday":{"en":"Wednesday"},"month":{"number":2,"en":"February"},"year":"2023","designation":{"abbreviated":"AD","expanded":"Anno Domini"}}}}
‘’’
Please advise.
JAK.
Nadeem