Opened 19 years ago
Last modified 15 years ago
#1996 new enhancement
Add a report formatting option to format timestamps
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | unscheduled |
Component: | report system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Based on the code in source:/trunk/trac/ticket/report.py it appears that a subset of 4 fields are automatically formatted as date strings. I am not sure what formatting option you can make available (already use _ and __ etc) but it would be nice to be able to dictate what columns are formatted. As far as I can tell SQLite does not include date formatting in their SQL functions. Probably an easy fix.
(for reference, I am trying to add the last comment date).
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
Milestone: | 0.9 |
---|---|
Priority: | normal → low |
comment:2 by , 19 years ago
Description: | modified (diff) |
---|
#2057 has been marked as a duplicate of this ticket.
comment:3 by , 19 years ago
Is this related to the problem of "Datetime(changetime, 'unixepoch') AS modified" resulting in a column title of "Datetime(changetime, 'unixepoch')" rather than "Modified"?
comment:4 by , 18 years ago
Milestone: | → 0.12 |
---|
It could be interesting to have a way to add a post-processing step for dates that would ease the differences between different SQL date formatting syntaxes, so maybe a _date_...
prefix could be used.
Another possibility would be to use real date columns (as suggested in #3935) in the hope that a common SQL subset can be used to manipulate them (MySQL as usual seems to have its own ways to deal with dates).
comment:5 by , 15 years ago
Milestone: | next-major-0.1X → unscheduled |
---|---|
Owner: | removed |
Not for 0.9.