Modify

Opened 4 years ago

Last modified 3 years ago

#7370 new enhancement

0.12 support

Reported by: mortee Owned by: ajo
Priority: normal Component: ExcelReportPlugin
Severity: normal Keywords:
Cc: william.spinelli@… Trac Release: 0.12

Description

Here, this seems to work under 0.12, along with the modified ReportPluginPatch. However, I didn't yet bother figuring out what's currently the way to get the report title and the project name (I'm new to Trac and don't know Python at all), so the sheet name is not dealt with. Anyone cares to fix this?

Attachments (3)

excel_report_plugin.py (5.5 KB) - added by mortee 4 years ago.
version which works under 0.12
timestap_fix.patch (478 bytes) - added by william.spinelli@… 3 years ago.
Patch to fix wrong timestamps in Trac 0.12
excel_report_plugin.2.py (5.6 KB) - added by william.spinelli@… 3 years ago.
excel_report_plugin.py already patched to fix wrong timestamps in Trac 0.12

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by mortee

version which works under 0.12

comment:1 Changed 3 years ago by william.spinelli@…

  • Cc william.spinelli@… added
  • Trac Release changed from 0.11 to 0.12

The file attachment:"excel_report_plugin.py" works in my 0.12 Trac installation. However all the timestamps in the exported excel file are wrong.

I googled a little bit and it seems that the way in which timestamps are reported has changed, since Trac 0.12 reports timestamps in microseconds.

Following the suggestion given in this ticket http://trac.edgewall.org/ticket/9377, I prepared a patch (attachment:"timestamp_fix.patch") that fixes the timestap. Probably it's not the best solution, but it works.

Changed 3 years ago by william.spinelli@…

Patch to fix wrong timestamps in Trac 0.12

Changed 3 years ago by william.spinelli@…

excel_report_plugin.py already patched to fix wrong timestamps in Trac 0.12

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.