aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-11 21:55:06 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-11 21:55:06 -0400
commitcf74cf7a37a1fa4e02dffc6f3ac580626d183433 (patch)
treef00064c9d982977427b6352cb3b12c3cc645eced /IkiWiki/Plugin/calendar.pm
parent23a21850faf1cbb4bd8547b11563c5806617cf7e (diff)
downloadikiwiki-cf74cf7a37a1fa4e02dffc6f3ac580626d183433.tar
ikiwiki-cf74cf7a37a1fa4e02dffc6f3ac580626d183433.tar.gz
calendar: use left and right arrows for next/prev months
This is consistent with the year display, and I think it is less visually confusing than using the full month names.
Diffstat (limited to 'IkiWiki/Plugin/calendar.pm')
-rw-r--r--IkiWiki/Plugin/calendar.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm
index cf133e8dc..dcf2b6d64 100644
--- a/IkiWiki/Plugin/calendar.pm
+++ b/IkiWiki/Plugin/calendar.pm
@@ -133,14 +133,14 @@ sub format_month (@) {
if (exists $pagesources{"$archivebase/$pyear/$pmonth"}) {
$purl = htmllink($params{page}, $params{destpage},
"$archivebase/$pyear/$pmonth",
- linktext => " $pmonthname ");
+ linktext => " \&larr ");
}
add_depends($params{page}, "$archivebase/$pyear/$pmonth",
deptype("presence"));
if (exists $pagesources{"$archivebase/$nyear/$nmonth"}) {
$nurl = htmllink($params{page}, $params{destpage},
"$archivebase/$nyear/$nmonth",
- linktext => " $nmonthname ");
+ linktext => " \&rarr ");
}
add_depends($params{page}, "$archivebase/$nyear/$nmonth",
deptype("presence"));