squaregoldfish / LongWebcam

Code for longwebcam.org project
0 stars 0 forks source link

Reinstate DST offset #12

Closed squaregoldfish closed 10 years ago

squaregoldfish commented 11 years ago

We need to store the daylight savings offset as seconds, not just a boolean. This is so we can calculate the 'true' local time.

squaregoldfish commented 11 years ago

The calculation for true local midday is UTC + timezone offset - DST offset.

squaregoldfish commented 10 years ago

Not relevant - the timezone offset will always be updated to be correct.