SiT! Bugs - SiT!
View Issue Details
0000629SiT!otherpublic2009-04-02 14:572011-02-14 13:18
ivan 
ivan 
normalminorhave not tried
resolvedfixed 
 
3.90beta1Current GIT 
0000629: var_utc_offset ignores DST
User timezone setting is done as a UTC offset, e.g. UTC+1hr

Since UTC is always the same and the offset is always the same, users don't see the time change when entering or leaving daylight savings.
No tags attached.
related to 0000733resolved ivan ldate() doesn't work with BST 
Issue History
2009-04-02 14:57ivanNew Issue
2009-04-29 15:48ivanNote Added: 0001001
2009-04-29 15:48ivanAssigned To => ivan
2009-04-29 15:48ivanStatusnew => confirmed
2009-04-29 15:48ivanTarget Version => 3.50
2009-04-29 15:54kieranNote Added: 0001002
2009-04-29 16:15ivanNote Added: 0001003
2009-04-29 16:25kieranNote Added: 0001004
2009-05-29 14:58ivanTarget Version3.50 => 3.60
2009-06-16 17:50ivanRelationship addedrelated to 0000733
2009-08-21 14:38kieranTarget Version3.60 => 4.0
2010-03-27 15:34ivanNote Added: 0002882
2010-03-27 15:34ivanStatusconfirmed => feedback
2010-04-10 22:49ivanNote Added: 0003011
2010-04-10 22:49ivanStatusfeedback => assigned
2010-04-10 22:49ivanStatusassigned => resolved
2010-04-10 22:49ivanFixed in Version => 3.60 LTS
2010-04-10 22:49ivanResolutionopen => fixed
2011-02-14 13:18ivanFixed in Version3.60 LTS => 3.90beta1
2011-02-14 13:18ivanFixed in Version3.90beta1 => Current GIT
2011-02-14 13:18ivanTarget Version4.0 => 3.90beta1

Notes
(0001001)
ivan   
2009-04-29 15:48   
As mentioned in the forum:
http://sitracker.org/forum/viewtopic.php?f=4&t=1416779 [^]

We should add a DST setting.
(0001002)
kieran   
2009-04-29 15:54   
Could we build in some DST rules and execute them once a day in auto.php to see if we're on DST yet?
(0001003)
ivan   
2009-04-29 16:15   
That'd be nice, except I believe that DST is complex... as in it's hard to know what it'll be from year to year. My understanding is that some countries don't even use the same every year but decide what the dates are on a per-year basis.
(0001004)
kieran   
2009-04-29 16:25   
A few snippets from the web:

"date('I') works out whether DST is enabled on the server or not. Since my timezone is GMT, if DST is enabled, I just add an hour."

---

"If you want to use PHP's native time handling functionality (it's very good) in PHP4, you can also do:

CODE
putenv( "TZ=Europe/London" );"
(0002882)
ivan   
2010-03-27 15:34   
Should be fixed by 3.60 can anybody confirm?
(0003011)
ivan   
2010-04-10 22:49   
This should have been fixed by changes released in 3.60. Marking fixed until I hear otherwise.