]> git.mxchange.org Git - friendica-addons.git/blobdiff - cal/cal.php
cal: CSV date now is YYYY-MM-DD
[friendica-addons.git] / cal / cal.php
index 5ec8d73e18f9a9923677d1fb79a7b23169466a81..4d251d372113566391aa6777f588cb27435e5316 100644 (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) .