azuyalabs / yasumi

The easy PHP Library for calculating holidays
https://www.yasumi.dev
Other
1.05k stars 155 forks source link

French Holidays of 2024 are not detected :( #325

Closed WalidAxo closed 12 months ago

WalidAxo commented 12 months ago

Hello :)

I'm using your API to subtract holidays from range of dates. It's was working just fine for 2023. Unfortunately, all 2024's French holidays are not detected. Is the API maintained ?

Thank you for your help,

Best regards

stelgenhof commented 12 months ago

Hi @WalidAxo

Yes, this library is still maintained :) Yasumi is in essence year independent as holidays are calculated in real-time.

Can you perhaps share your code how you are trying to get the 2024 holidays?

Thanks! Sacha

WalidAxo commented 12 months ago

Ah perfect,

excuse me, I think I discovered my mistake :(

I was creating the object with year 2023 and caculating holidays for 2024.

You can close this issue.

Thank you for your time and assistance.

Best,

stelgenhof commented 12 months ago

No problem. Thanks for the reply.