diff --git a/4chan_x.user.js b/4chan_x.user.js index ab0d06943..030f9af2c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -412,20 +412,16 @@ }, isDST: function() { /* - http://en.wikipedia.org/wiki/Daylight_saving_time_in_the_United_States - Since 2007, daylight saving time starts on the second Sunday of March - and ends on the first Sunday of November, with all time changes taking - place at 2:00 AM (0200) local time. - http://en.wikipedia.org/wiki/Eastern_Time_Zone Its UTC time offset is −5 hrs (UTC−05) during standard time and −4 hrs (UTC−04) during daylight saving time. - Standard time: - 0200 EST (UTC-05) = 0700 UTC + Since 2007, the local time changes at 02:00 EST to 03:00 EDT on the second + Sunday in March and returns at 02:00 EDT to 01:00 EST on the first Sunday + in November, in the U.S. as well as in Canada. - Dalyight saving time: - 0200 EST (UTC-04) = 0600 UTC + 0200 EST (UTC-05) = 0700 UTC + 0200 EDT (UTC-04) = 0600 UTC */ var D, date, day, hours, month, sunday; D = new Date(); diff --git a/script.coffee b/script.coffee index a8fa44c98..accbde740 100644 --- a/script.coffee +++ b/script.coffee @@ -285,20 +285,16 @@ $.extend $, el.removeEventListener eventType, handler, false isDST: -> ### - http://en.wikipedia.org/wiki/Daylight_saving_time_in_the_United_States - Since 2007, daylight saving time starts on the second Sunday of March - and ends on the first Sunday of November, with all time changes taking - place at 2:00 AM (0200) local time. - http://en.wikipedia.org/wiki/Eastern_Time_Zone Its UTC time offset is −5 hrs (UTC−05) during standard time and −4 hrs (UTC−04) during daylight saving time. - Standard time: - 0200 EST (UTC-05) = 0700 UTC + Since 2007, the local time changes at 02:00 EST to 03:00 EDT on the second + Sunday in March and returns at 02:00 EDT to 01:00 EST on the first Sunday + in November, in the U.S. as well as in Canada. - Dalyight saving time: - 0200 EST (UTC-04) = 0600 UTC + 0200 EST (UTC-05) = 0700 UTC + 0200 EDT (UTC-04) = 0600 UTC ### D = new Date()