??bigaceglobal#kimai_title??

CSV Export

posted on 27 August, 2007 by torsten

Urs Gerig wrote a little extension to Kimai to export his timesheets as CSV. Thanks for contributing this often requested feature, Urs! "Since I need to present my data in Excel, an export function was nescessary. So here please find my way of solving it. You may use it for Kimai, if you like. It's meant to run on Windows. Best, Urs" I tested it on the Mac and it works fine. If anyone may check it out on Linux please leave a comment if it works or not. The script is not secured in any way yet! It's unlikely but still a potential danger for your installment. So don't leave it in your Kimai directory permanently if you use it. Get it here.

published in:

Comments

Daniel wrote at 07.24.09, 21:49:

The script needs to change line 52 from this:
FROM kimai_zef
to this
FROM {$server_prefix}zef

to work without/with-other prefix as set in configuration file.

I've tested on Linux and works fine if you set the output file to a path that mysq user is allowed to write, I've teste using /tmp like this:
$outfile = '/tmp/export_' . strftime("%Y-%m-%d_%H-%M-%S") . '.csv';

Great job!







Captcha code: