Add in more UTF-8 encodings as required for Perl v5.18, thanks to
Jan Schneider for reporting the UTF-8 issue.
- Fix removing "0 hours" from Next Recording In if the hour is a
- multiple of 10, thanks to Stephan Seitz for reporting this.
+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". Also fixes an issue where "0 hours" was removed
+ if the hour was a multiple of 10. Thanks to Stephan Seitz for
+ reporting the multiple of 10 issue.
+
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/\b(, )?0 Hours(, )?//;
+ $str =~ s/\b0 (Days|Hours)(, )?//;
$str =~ s/, 0 Minutes$//;
if ($seconds <= $c->{'recording_in_warn'}) {