Description: fix rendering of previous and following month in sidebar
 Otherwise, only the first week of the month would be rendered as $month
 is the current month (11 for the complex.ics tests)
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=94968

--- a/lib/iCal/Parser/HTML/stylesheet/month-util.xsl
+++ b/lib/iCal/Parser/HTML/stylesheet/month-util.xsl
@@ -86,7 +86,7 @@
 	 </xsl:call-template>
       </tr>
       <xsl:variable name="next-week" select="date:add($start-date,'P7D')"/>
-      <xsl:if test="date:month-in-year($next-week) = $month">
+      <xsl:if test="date:month-in-year($next-week) = $this-month">
 	 <xsl:call-template name="week">
 	    <xsl:with-param name="start-date"  select="$next-week"/>
 	    <xsl:with-param name="month" select="$month"/>
