Fix DST for two days of the year.
This commit is contained in:
parent
59754aa161
commit
ee981c69fd
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user