|
@@ -1420,7 +1420,7 @@ discard block |
|
|
block discarded – undo |
|
1420
|
1420
|
if ($this->tz["timezone"] != 0) { |
|
1421
|
1421
|
// Create user readable timezone information |
|
1422
|
1422
|
$timezone = sprintf( |
|
1423
|
|
- "(GMT %s%02d:%02d)",- |
|
|
1423
|
+ "(GMT %s%02d:%02d)", - |
|
1424
|
1424
|
$this->tz["timezone"] > 0 ? "+" : "-", |
|
1425
|
1425
|
abs($this->tz["timezone"] / 60), |
|
1426
|
1426
|
abs($this->tz["timezone"] % 60) |
|
@@ -1938,7 +1938,7 @@ discard block |
|
|
block discarded – undo |
|
1938
|
1938
|
} |
|
1939
|
1939
|
elseif ($this->recur['regen']) { |
|
1940
|
1940
|
$year_starttime = $this->gmtime($now); |
|
1941
|
|
- $is_next_leapyear = $this->isLeapYear($year_starttime['tm_year'] + 1900 + 1); // +1 next year |
|
|
1941
|
+ $is_next_leapyear = $this->isLeapYear($year_starttime['tm_year'] + 1900 + 1); // +1 next year |
|
1942
|
1942
|
$now = $daystart + ($is_next_leapyear ? 31622400 /* Leap year in seconds */ : 31536000 /* year in seconds */); |
|
1943
|
1943
|
|
|
1944
|
1944
|
if ($now <= $dayend) { |
Please login to merge, or discard this patch.