Mailing List Archive

How change relative date format for TicketQuery?
Hi Everyone,

I'm using Trac 1.4.2 and
[[TicketQuery(format=table,order=modified,desc=1,col=modified|id|summary,rows=description)]]

I also changed, in the Admin panel, under Basic Settings... the "Default
time format" to be "Absolute format".

However, the table produced by TicketQuery seems to still be in "Relative"
format. Is a server restart needed in order to change the format of the
TicketQuery?

Kindly,
Aikido Guy

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/3abb49c8-754d-4745-b245-7e1c79a2e541n%40googlegroups.com.
Re: How change relative date format for TicketQuery? [ In reply to ]
On Monday, January 11, 2021 at 7:22:32 AM UTC-8 aiki...@gmail.com wrote:

> Hi Everyone,
>
> I'm using Trac 1.4.2 and
> [[TicketQuery(format=table,order=modified,desc=1,col=modified|id|summary,rows=description)]]
>
> I also changed, in the Admin panel, under Basic Settings... the "Default
> time format" to be "Absolute format".
>
> However, the table produced by TicketQuery seems to still be in "Relative"
> format. Is a server restart needed in order to change the format of the
> TicketQuery?
>
> Kindly,
> Aikido Guy
>

Server restart isn't needed when editing trac.ini.

Your user preference may be overriding the default, see /prefs/localization.

Ryan

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/28e01189-186e-4624-bc74-80e4a12fb98cn%40googlegroups.com.