Jump to content
  • 0

Does Blesta consider Daylight Savings time ?


turner2f

Question

5 answers to this question

Recommended Posts

  • 0

 

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

Link to comment
Share on other sites

  • 0

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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...