| Issue 11: | Summer time | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hello, I didn't found anything about the manage of the summer time... Any help ?
Nov 9, 2009
(No comment was entered for this change.)
Status:
Done
|
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}}); }}}