From e78c25d1b2a4c428069abb7b5a4df5cb8fc1d060 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Dec 2007 23:57:25 -0500 Subject: [PATCH] logic fix --- IkiWiki/Plugin/calendar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm index 91aff1ea7..0bb0e81fd 100644 --- a/IkiWiki/Plugin/calendar.pm +++ b/IkiWiki/Plugin/calendar.pm @@ -38,7 +38,7 @@ sub needsbuild (@) { #{{{ my $needsbuild=shift; foreach my $page (keys %pagestate) { if (exists $pagestate{$page}{calendar}{nextchange}) { - if ($pagestate{$page}{calendar}{nextchange} >= $time) { + if ($pagestate{$page}{calendar}{nextchange} <= $time) { # force a rebuild so the calendar shows # the current day push @$needsbuild, $pagesources{$page}; -- 2.44.0