Switching < to <= which is the correct operator
This commit is contained in:
+1
-1
@@ -1013,7 +1013,7 @@ function dst_offset_on($time) {
|
||||
$finaloffset = NULL;
|
||||
|
||||
foreach($USER->dstchanges as $from => $offset) {
|
||||
if($from < $time) {
|
||||
if($from <= $time) {
|
||||
$finaloffset = $offset;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user