Fix DST for two days of the year.
This commit is contained in:
parent
59754aa161
commit
ee981c69fd
@ -432,7 +432,7 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (sunday < 15 && date.getDay() === 0) {
|
if (sunday < 15 && date.getDay() === 0) {
|
||||||
if (date.getHour() < 1) {
|
if (date.getHours() < 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
@ -443,7 +443,7 @@
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (sunday < 8 && date.getDay() === 0) {
|
if (sunday < 8 && date.getDay() === 0) {
|
||||||
if (date.getHour() < 1) {
|
if (date.getHours() < 1) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -7,6 +7,7 @@ master
|
|||||||
automatically reload expanded pictures on error
|
automatically reload expanded pictures on error
|
||||||
update archives redirections for /diy/, /pol/ and /sci/
|
update archives redirections for /diy/, /pol/ and /sci/
|
||||||
handle bans with the thread updater
|
handle bans with the thread updater
|
||||||
|
fix DST for two days of the year
|
||||||
- aeosynth
|
- aeosynth
|
||||||
quick reply redesign
|
quick reply redesign
|
||||||
|
|
||||||
|
|||||||
@ -312,7 +312,7 @@ $.extend $,
|
|||||||
|
|
||||||
#during second sunday
|
#during second sunday
|
||||||
if sunday < 15 and date.getDay() is 0
|
if sunday < 15 and date.getDay() is 0
|
||||||
if date.getHour() < 1
|
if date.getHours() < 1
|
||||||
return false
|
return false
|
||||||
return true
|
return true
|
||||||
|
|
||||||
@ -326,7 +326,7 @@ $.extend $,
|
|||||||
|
|
||||||
# during first sunday
|
# during first sunday
|
||||||
if sunday < 8 and date.getDay() is 0
|
if sunday < 8 and date.getDay() is 0
|
||||||
if date.getHour() < 1
|
if date.getHours() < 1
|
||||||
return true
|
return true
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user