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?

I'm perfectly willing to do that. Do you have a pointer to the subversion repository somewhere? I don't see one at http://live.gnome.org/Planner .

-Seb



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