We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Hello,
As I know since 2004 this not a holiday anymore.
This day should not be count as one or may be optional.
Hi @kl3sk Thank you very much for noting this. I will make a correction accordingly.
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.
Hi @kl3sk Can you let me know if the fix I made addresses your issue? Thanks!
Fixes merged to the develop branch.
develop
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.
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.
@dev-develop
return false
$yasumi->isHoliday(new \DateTime('2022-06-05'))
But ! It look likes @master (eg: v2.5.0) returns the same.
@master
v2.5.0
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()
Yasumi::isHoliday()
At least should be true and false
true
false
Should be false and false
Of course these are two different screenshots 😉
Activity
stelgenhof commentedon Jun 5, 2022
Hi @kl3sk Thank you very much for noting this. I will make a correction accordingly.
stelgenhof commentedon Jun 14, 2022
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 commentedon Sep 5, 2022
Hi @kl3sk Can you let me know if the fix I made addresses your issue? Thanks!
stelgenhof commentedon Sep 7, 2022
Fixes merged to the
develop
branch.kl3sk commentedon 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 commentedon Oct 24, 2022
Hello @stelgenhof sorry for the late time.
I tried with
@dev-develop
and found thatreturn 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()
At least should be
true
andfalse
Should be
false
andfalse
Of course these are two different screenshots 😉