diff --git a/core/lib/Foswiki/Time.pm b/core/lib/Foswiki/Time.pm index 6566b1baee..b82283b0bc 100644 --- a/core/lib/Foswiki/Time.pm +++ b/core/lib/Foswiki/Time.pm @@ -409,7 +409,7 @@ sub parseInterval { } if (!defined($start)) { - $start = $end - _parseDuration( $first ); + $start = ($end || 0) - _parseDuration( $first ); } if (!defined($end)) { $end = $start + _parseDuration( $last );