forked from friendica/friendica-addons
cal: CSV date now is YYYY-MM-DD
This commit is contained in:
parent
ebcc291e06
commit
f9deb708c7
2 changed files with 1 additions and 1 deletions
BIN
cal.tgz
BIN
cal.tgz
Binary file not shown.
|
@ -93,7 +93,7 @@ function cal_format_output ($r, $f, $tz)
|
|||
$tmp1 = strtotime($rr['start']);
|
||||
$tmp2 = strtotime($rr['finish']);
|
||||
$time_format = "%H:%M:%S";
|
||||
$date_format = "%d.%m.%Y";
|
||||
$date_format = "%Y-%m-%d";
|
||||
$o .= '"'.$rr['summary'].'", "'.strftime($date_format, $tmp1) .
|
||||
'", "'.strftime($time_format, $tmp1).'", "'.$rr['desc'] .
|
||||
'", "'.strftime($date_format, $tmp2) .
|
||||
|
|
Loading…
Reference in a new issue