Hi,

Actually, I was able from the sources to find the format_datetime(changed.date), which will do most of what I need, except I still don't get the weekday abbreviation, and get the time in UTC, whereas I would like it in localtime.

Any ideas on these?

Thanks,
Nikos

----- Original Message ----- From: "Nikos Balkanas" <[email protected]>
To: "Trac Users" <[email protected]>
Sent: Sunday, August 15, 2010 6:21 AM
Subject: Trac datetime format


Hi,

I am newbie. I would like to change the output to existing tickets
from relative (Changed 3 months ago by ...) to absolute (Changed on
Sun, 15/8/10 11:05:50 by ...).

I am looking at the project's templates/ticket.html at the following
code:

Changed on ${dateinfo(change.date)} by ...

and trying the following:

Changed on  ${change.date.wday), ${change.date.day}/$
{change.date.month}/${change.date.year} ${change.date.hour}:$
{change.date.min}:${change.date.sec} by...

Problem is that neither wday, nor time components (min,sec) are
defined. Lastly I would like some kind of printf formatting like %02d
for min.

Any hints?

Thanks,
Nikos

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to