cal: CSV date now is YYYY-MM-DD

pull/132/head
Tobias Diekershoff 2013-06-16 22:03:41 +02:00
parent ebcc291e06
commit f9deb708c7
2 changed files with 1 additions and 1 deletions

BIN
cal.tgz

Binary file not shown.

View File

@ -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) .