Mailing List Archive

time & date format
Hello

I would like to see time & date values in our TRAC 1.4 in the following
simple format YYYY-MM-DD i.e. absolute format without time (hours,
minutes, timezone).

I know that one can configure date & time in the "preferences" menu. I have:
date format = ISO 8601
time format = absolute format

This is my observation:

In the ticket view this gives values like "Last modified at
2023-09-19T12:58:21+02:00"; I would like to omit the time.

For custom ticket queries time/date columns like "created" are given as
relative values e.g. "6 months"; I would expect absolute values.

For SQL based ticket reports the "created" column always appears in
absolute format e.g. 2023-11-06. This is what I want; but I am not
surprised that SQL based reports seems to ignore the time format which
was given in the "preferences".

Is it possible to "hack" the TRAC templates in order to get absolute
YYYY-MM-DD time format? Or any other ideas? Maybe a JavaScript approach?

Most of all I am interested to have absolute dates in ticket queries
(i.e. in the result tables of custom ticket queries), because sometimes
we print or export the query ticket tables and relatives values are less
useable in non-real-time environment. Time/date values in all other
places timeline, wiki, roadmap etc. are not so much important for me.

Thanks
Clemens

--
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/d3ef00f7-0136-4916-9340-b5589dc80a85%40osypkamed.com.