https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e8f8d
)
cal: added TODO note to CSV export
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sun, 16 Jun 2013 10:15:38 +0000
(12:15 +0200)
committer
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sun, 16 Jun 2013 10:15:38 +0000
(12:15 +0200)
cal/cal.php
patch
|
blob
|
history
diff --git
a/cal/cal.php
b/cal/cal.php
index
461cb02
..
597e532
100644
(file)
--- a/
cal/cal.php
+++ b/
cal/cal.php
@@
-88,6
+88,8
@@
function cal_format_output ($r, $f, $tz)
header("Content-type: text/csv");
$o = '"Subject", "Start Date", "Start Time", "Description", "End Date", "End Time", "Location"' . PHP_EOL;
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']);
$tmp2 = strtotime($rr['finish']);
$time_format = "%H:%M:%S";