cal: added TODO note to CSV export
This commit is contained in:
parent
18e8f8d8fb
commit
69065bfd10
|
@ -88,6 +88,8 @@ function cal_format_output ($r, $f, $tz)
|
||||||
header("Content-type: text/csv");
|
header("Content-type: text/csv");
|
||||||
$o = '"Subject", "Start Date", "Start Time", "Description", "End Date", "End Time", "Location"' . PHP_EOL;
|
$o = '"Subject", "Start Date", "Start Time", "Description", "End Date", "End Time", "Location"' . PHP_EOL;
|
||||||
foreach ($r as $rr) {
|
foreach ($r as $rr) {
|
||||||
|
// TODO the time / date entries don't include any information about the
|
||||||
|
// timezone the event is scheduled in :-/
|
||||||
$tmp1 = strtotime($rr['start']);
|
$tmp1 = strtotime($rr['start']);
|
||||||
$tmp2 = strtotime($rr['finish']);
|
$tmp2 = strtotime($rr['finish']);
|
||||||
$time_format = "%H:%M:%S";
|
$time_format = "%H:%M:%S";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user