It was being modified to "0 Day, 3" rather than "30 Hours".
+2014-09-11 Andrew Ruthven
+ Spotted that if the next recording is in 30 hours, then it is
+ displayed as "0 Days, 3". Correct it so it'll be displayed
+ as "30 Hours".
+
2013-10-28 Andrew Ruthven
Guard against zero total disk space, this affected Werner Mahr.
}
$str =~ s/\b1 (Day|Hour|Minute)s/1 $1/g;
- $str =~ s/(, )?0 Hours(, )?//;
+ $str =~ s/\b0 (Days|Hours)(, )?//;
$str =~ s/, 0 Minutes$//;
if ($seconds <= $c->{'recording_in_warn'}) {