Re: Planner-list customizing planner html export



Maurice van der Pot wrote:
On Mon, Oct 08, 2007 at 05:28:31PM -0400, Sebastien Roy wrote:
One more thing:
The "Report Date" in the exported HTML is "NaN, NaN" instead of a date. I see that planner2html.xsl implements the "Report Date" with:

<tr>
   <td class="header">Report Date:</td>
   <td>
     <xsl:value-of select="date:month-name(date:date())"/>
     <xsl:text> </xsl:text>
     <xsl:value-of select="date:day-in-month(date:date())"/>
     <xsl:text>, </xsl:text>
     <xsl:value-of select="date:year(date:date ())"/>
   </td>
</tr>

It seems that the "date()" functions are returning the empty string. Is this a known bug?

I've not seen this problem before myself and a quick search didn't turn
up anything in the bug database either.  The code was changed after the
release of 0.14.2 though. We are now using I18N's getdate.

Can you try out planner (or just the stylesheet) from subversion and see
if the problem goes away?

After having figured out where the subversion repository was and how to get the autotools all synced up to build it, I was finally able to test this. The header now shows a date, but it's always January 1, 1970. Is this possibly because of some missing feature in my libxslt?

-Seb



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]