From: Tobias Diekershoff Date: Sun, 16 Jun 2013 20:03:41 +0000 (+0200) Subject: cal: CSV date now is YYYY-MM-DD X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9deb708c74461ae69b4eb1a833b3a21cebb6a68;p=friendica-addons.git cal: CSV date now is YYYY-MM-DD --- diff --git a/cal.tgz b/cal.tgz index b01a169d..259d9563 100644 Binary files a/cal.tgz and b/cal.tgz differ diff --git a/cal/cal.php b/cal/cal.php index 5ec8d73e..4d251d37 100644 --- a/cal/cal.php +++ b/cal/cal.php @@ -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) .