Frerit / epiclock

Automatically exported from code.google.com/p/epiclock
0 stars 0 forks source link

Summer time #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I didn't found anything about the manage of the summer time...

Any help ?

Original issue reported on code.google.com by Guillaum...@gmail.com on 6 Nov 2009 at 10:17

GoogleCodeExporter commented 9 years ago
Because of the myriad of different rules around summer time, or daylight 
savings, I decided to not bother 
putting native support for it into the clock. If you want to do timezone 
switches, you'll need to define your 
own rules for the different timezones. Honestly, the easiest way to handle the 
addition or subtraction of time 
is to pass in an offset rule. For example:

{{{
// If you're normally in say, Eastern Time, this will convert the time into 
Eastern Daylight Savings. Just 
remember
// to set back the offset when we spring forward.
jQuery('#clock').epiclock({..., offset:{hours: -1}});
}}}

Original comment by gars...@gmail.com on 10 Nov 2009 at 12:36

GoogleCodeExporter commented 9 years ago

Original comment by gars...@gmail.com on 10 Nov 2009 at 12:36