Re: Planner-list customizing planner html export



Sebastien Roy wrote:
> This helps a lot, actually.  Thank you.  This kind of helpful advice
> will help to get more developers familiar with the guts of the app.,
> and eventually get more people to contribute in the long term (if
> that's the goal anyway.) 

You're welcome. And it would indeed be very nice to get more
contributors to planner. =)

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?

Regards,
Maurice.

-- 
Maurice van der Pot

Gentoo Linux Developer   griffon26 gentoo org     http://www.gentoo.org
Creator of BiteMe!       griffon26 kfk4ever com   http://www.kfk4ever.com

Attachment: pgphToJwudfGd.pgp
Description: PGP signature



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