Merge pull request #375 from MayhemYDG/master

Fix DST for two days of the year.
This commit is contained in:
James Campos 2011-11-05 09:15:56 -07:00
commit 05da236198
3 changed files with 5 additions and 4 deletions

View File

@ -432,7 +432,7 @@
return false;
}
if (sunday < 15 && date.getDay() === 0) {
if (date.getHour() < 1) {
if (date.getHours() < 1) {
return false;
}
return true;
@ -443,7 +443,7 @@
return true;
}
if (sunday < 8 && date.getDay() === 0) {
if (date.getHour() < 1) {
if (date.getHours() < 1) {
return true;
}
return false;

View File

@ -7,6 +7,7 @@ master
automatically reload expanded pictures on error
update archives redirections for /diy/, /pol/ and /sci/
handle bans with the thread updater
fix DST for two days of the year
- aeosynth
quick reply redesign

View File

@ -312,7 +312,7 @@ $.extend $,
#during second sunday
if sunday < 15 and date.getDay() is 0
if date.getHour() < 1
if date.getHours() < 1
return false
return true
@ -326,7 +326,7 @@ $.extend $,
# during first sunday
if sunday < 8 and date.getDay() is 0
if date.getHour() < 1
if date.getHours() < 1
return true
return false