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

Determine whether there is a holiday problem #14

Open
waiwairabbit opened this issue Dec 16, 2024 · 2 comments
Open

Determine whether there is a holiday problem #14

waiwairabbit opened this issue Dec 16, 2024 · 2 comments

Comments

@waiwairabbit
Copy link

var_dump(\zjkal\ChinaHoliday::isHoliday("2025-01-01 00:00:00"));
var_dump(\zjkal\ChinaHoliday::isHoliday(1735660800));

@zjkal
Copy link
Owner

zjkal commented Dec 16, 2024

Please make sure you use a version >= v1.1.10

@zjkal
Copy link
Owner

zjkal commented Dec 17, 2024

It has been fixed.
The cause has been found, which may be due to the time zone difference of the PHP operating environment.
Please update to the latest v1.1.11
If you still find problems, please give us feedback in time, thank you.

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