Replies: 1 comment
-
I'd accept a PR (with tests) for this 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Had a teammate see the
timezone()
method and expected it to work like the Kernel scheduler, but instead our log files just started filling up withCreation of dynamic property CheckClass::$timezone is deprecated
warning on every single request and the checks still ran in UTC, despite the code suggesting otherwise.Spatie\Health\Checks\Check
usesIlluminate\Console\Scheduling\ManagesFrequencies
which offers the ability to set$timezone
.Spatie\Health\Checks\Check::shouldRun()
could easily support timezones in the same way thatIlluminate\Console\Scheduling\Event::expressionPasses()
does now.Beta Was this translation helpful? Give feedback.
All reactions