summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-08 23:57:25 -0500
committerJoey Hess <joey@kitenet.net>2007-12-08 23:57:25 -0500
commite78c25d1b2a4c428069abb7b5a4df5cb8fc1d060 (patch)
treea2d78f9301f60befd552fee152522f135f8e8a4a /IkiWiki/Plugin
parent5023f2301d42319cb552102c532452b8fb4744af (diff)
logic fix
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/calendar.pm2
1 files changed, 1 insertions, 1 deletions
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};