Modify

Opened 14 years ago

Closed 7 years ago

#7370 closed enhancement (wontfix)

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 14 years ago.
version which works under 0.12
timestap_fix.patch (478 bytes) - added by william.spinelli@… 14 years ago.
Patch to fix wrong timestamps in Trac 0.12
excel_report_plugin.2.py (5.6 KB) - added by william.spinelli@… 14 years ago.
excel_report_plugin.py already patched to fix wrong timestamps in Trac 0.12

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by mortee

Attachment: excel_report_plugin.py added

version which works under 0.12

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

Cc: william.spinelli@… added; anonymous removed
Trac Release: 0.110.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 14 years ago by william.spinelli@…

Attachment: timestap_fix.patch added

Patch to fix wrong timestamps in Trac 0.12

Changed 14 years ago by william.spinelli@…

Attachment: excel_report_plugin.2.py added

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

comment:2 Changed 7 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Deprecated: use ExcelDownloadPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ajo.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.