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

pentecost Monday France #281

Closed
kl3sk opened this issue Jun 3, 2022 · 6 comments
Closed

pentecost Monday France #281

kl3sk opened this issue Jun 3, 2022 · 6 comments
Assignees
Labels
Milestone

Comments

@kl3sk
Copy link

kl3sk commented Jun 3, 2022

Hello,

As I know since 2004 this not a holiday anymore.

This day should not be count as one or may be optional.

@stelgenhof
Copy link
Member

Hi @kl3sk Thank you very much for noting this. I will make a correction accordingly.

@stelgenhof stelgenhof added the bug label Jun 5, 2022
@stelgenhof stelgenhof added this to the 2.5.1 milestone Jun 5, 2022
@stelgenhof stelgenhof self-assigned this Jun 13, 2022
@stelgenhof
Copy link
Member

Hi @kl3sk I've made a fix for this, which you can find in this branch: https://github.com/azuyalabs/yasumi/tree/pentecost-monday-france.

@stelgenhof
Copy link
Member

Hi @kl3sk Can you let me know if the fix I made addresses your issue? Thanks!

@stelgenhof
Copy link
Member

Fixes merged to the develop branch.

@kl3sk
Copy link
Author

kl3sk commented Sep 7, 2022

Hello @stelgenhof,

Thank you for the update.

I did yet found time to test. I'll come back when I can test it on my project.

@kl3sk
Copy link
Author

kl3sk commented Oct 24, 2022

Hello @stelgenhof sorry for the late time.

I tried with @dev-develop and found that return false for $yasumi->isHoliday(new \DateTime('2022-06-05')) that is the intended behaviour.

But ! It look likes @master (eg: v2.5.0) returns the same.

Edit:
It look like the date is wrong, on 2022 pentecost is on 2022-06-05 (05/06/2022 in French format).
With that I try this (same result)

Method used :
Yasumi::isHoliday()

On: v2.5.0 On: dev-develop

image

At least should be true and false

image

Should be false and false

Of course these are two different screenshots 😉

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

No branches or pull requests

2 participants