You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a laravel application and I use cronical installed as service (I'm on windows) to make the scheduler running.
Sunday night during daylight saving time shift something strange happens, take a look of the log time:
[2024-10-27 00:56:04] local.INFO: Short report finished
[2024-10-27 02:01:02] local.INFO: Short report started at: 2024-10-27 02:01:02
[2024-10-27 02:01:02] local.INFO: Handling data from: 2024-10-27 02:55 to: 2024-10-27 02:00
[2024-10-27 02:01:03] local.INFO: Handling data from: 2024-10-27 02:00 to: 2024-10-27 02:05
..process the rest of the hour splitted in five minutes
[2024-10-27 02:01:03] local.INFO: Handling data from: 2024-10-27 02:55 to: 2024-10-27 03:00<<3:00 is right cause I format time in my timezone on ther log
[2024-10-27 02:01:05] local.INFO: Short report finished
[2024-10-27 02:06:02] local.INFO: Short report started at: 2024-10-27 02:06:02
[2024-10-27 02:06:02] local.INFO: Handling data from: 2024-10-27 03:00 to: 2024-10-27 03:05
As you can see the log time pass from 00:56 to 2:01.....why?
Laravel timezone is UTC and I use to store data in UTC to avoid problem with the (I hate it) daylight saving time.
A problem with my code? propably but:
This is another log, handled always from the same laravel distro and run every 10seconds:
[2024-10-27 00:59:52] local.INFO: --- Weather Station Data Acquisition finish ---
[2024-10-27 02:00:02] local.INFO: GW2000 Data ack in 0.117 s
[2024-10-27 02:00:02] local.INFO: --- Weather Station Data Acquisition finish ---
[2024-10-27 02:00:12] local.INFO: GW2000 Data ack in 0.379 s
Olso here the same problem, the log time pass from 00:56 to 02:00.
I have a laravel application and I use cronical installed as service (I'm on windows) to make the scheduler running.
Sunday night during daylight saving time shift something strange happens, take a look of the log time:
[2024-10-27 00:56:04] local.INFO: Short report finished
[2024-10-27 02:01:02] local.INFO: Short report started at: 2024-10-27 02:01:02
[2024-10-27 02:01:03] local.INFO: Handling data from: 2024-10-27 02:55 to: 2024-10-27 03:00 <<3:00 is right cause I format time in my timezone on ther log
As you can see the log time pass from 00:56 to 2:01.....why?
Laravel timezone is UTC and I use to store data in UTC to avoid problem with the (I hate it) daylight saving time.
A problem with my code? propably but:
This is another log, handled always from the same laravel distro and run every 10seconds:
Olso here the same problem, the log time pass from 00:56 to 02:00.
Ok, my app is buggy, let me see the Cronical log:
When daylight saving time ends in winter, the clocks go back from 3:00 to 2:00, meaning we experience the 2 hour twice.
In this case I was expecting to se something like this:
So i can confirm that croincal just add time to the actual time without consider the possibility of a time shift fro daylight saving time
UTC don't have timezone so for one hour Cronical didn't work???
The text was updated successfully, but these errors were encountered: