Re: Planner-list customizing planner html export
- From: Sebastien Roy <Sebastien Roy Sun COM>
- To: planner-list gnome org
- Subject: Re: Planner-list customizing planner html export
- Date: Mon, 08 Oct 2007 17:28:31 -0400
Maurice van der Pot wrote:
Adding the year to the dates should be done in
/usr/share/planner/stylesheets/html1_tasks.xsl at every occurrence of
month-abbreviation (use the year() function).
This worked.
To remove the gantt in the output remove the following line from
data/stylesheets/planner2html.xsl:
<xsl:call-template name="gantt"/>
This also worked.
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?
-Seb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]