calendar: Add creation time limits to user's pagespec

This avoids all calendars rebuilding when a new page is added
that will only show in one of them.
master
Joey Hess 2009-10-12 12:30:10 -04:00
parent 6678ab8fb3
commit 227540fd87
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ sub format_month (@) {
my %params=@_;
my %linkcache;
foreach my $p (pagespec_match_list($params{page}, $params{pages},
foreach my $p (pagespec_match_list($params{page},
"creation_year($params{year}) and creation_month($params{month}) and ($params{pages})",
# add presence dependencies to update
# month calendar when pages are added/removed
deptype => deptype("presence"))) {