turner2f Posted September 22, 2020 Report Share Posted September 22, 2020 Does Blesta consider Daylight Savings time ? If not, is it being considered for a future upgrade ? Quote Link to comment Share on other sites More sharing options...
0 Jono Posted September 22, 2020 Report Share Posted September 22, 2020 Yes. Yes it does Quote Link to comment Share on other sites More sharing options...
0 turner2f Posted September 22, 2020 Author Report Share Posted September 22, 2020 @Jono Thanks.Was this a feature in version 4.0.1 ? Because I am now using 4.11.2 . Quote Link to comment Share on other sites More sharing options...
0 Jono Posted September 22, 2020 Report Share Posted September 22, 2020 10 minutes ago, turner2f said: Was this a feature in version 4.0.1 ? Well it has always had partial consideration because dates are stored in UTC so when these dates are displayed we always convert them to the current timezone (daylight savings or not). But some of the other issues of saying "today +1 month" and that considering daylight savings was taken care of by using PHP's DateTime class which we started doing in 4.2 https://dev.blesta.com/browse/CORE-2378 Quote Link to comment Share on other sites More sharing options...
0 turner2f Posted September 22, 2020 Author Report Share Posted September 22, 2020 The version I was using was 4.1.0 So I would have to manually adjust all the " automation " to match the daylight savings time. So you are saying that prior to version 4.2.0, that we used to have to manually adjust the automation ? Please confirm. Quote Link to comment Share on other sites More sharing options...
0 Jono Posted September 22, 2020 Report Share Posted September 22, 2020 Ah, now that is an interesting case. The answer to your question in this case is no, it does not account for daylight savings. If you set the time to 07:00 PDT then the datebase saves at as 00:00 UTC. Then outside daylight savings the cron will see that 00:00 UTC as 08:00 PST and I suspect that's also what it would show in the interface so you would have to manually adjust it to 07:00 PST (which would then be stored as 23:00 UTC) Paul 1 Quote Link to comment Share on other sites More sharing options...
Question
turner2f
Does Blesta consider Daylight Savings time ?
If not, is it being considered for a future upgrade ?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.