typo
parent
c84c7d6ea7
commit
f181962dfc
|
@ -424,7 +424,7 @@ sub expire () { #{{{
|
||||||
grep { exists $_->{page} && $_->{feed} eq $feed->{name} }
|
grep { exists $_->{page} && $_->{feed} eq $feed->{name} }
|
||||||
values %guids) {
|
values %guids) {
|
||||||
if ($feed->{expireage}) {
|
if ($feed->{expireage}) {
|
||||||
my $days_old = (time - ($IkiWiki::pagectime{$item->{page}} || 0) / 60 / 60 / 24;
|
my $days_old = (time - ($IkiWiki::pagectime{$item->{page}} || 0)) / 60 / 60 / 24;
|
||||||
if ($days_old > $feed->{expireage}) {
|
if ($days_old > $feed->{expireage}) {
|
||||||
debug(sprintf(gettext("expiring %s (%s days old)"),
|
debug(sprintf(gettext("expiring %s (%s days old)"),
|
||||||
$item->{page}, int($days_old)));
|
$item->{page}, int($days_old)));
|
||||||
|
|
|
@ -7,3 +7,5 @@ Current git :
|
||||||
This prevents a Debian package build (due to `t/syntax.t`).
|
This prevents a Debian package build (due to `t/syntax.t`).
|
||||||
|
|
||||||
Not knowing the units being used, I don't know where to add the missing parenthesis.
|
Not knowing the units being used, I don't know where to add the missing parenthesis.
|
||||||
|
|
||||||
|
[[done]]
|
||||||
|
|
Loading…
Reference in New Issue