]> git.mxchange.org Git - friendica-addons.git/commitdiff
cal: CSV date now is YYYY-MM-DD
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 16 Jun 2013 20:03:41 +0000 (22:03 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 16 Jun 2013 20:03:41 +0000 (22:03 +0200)
cal.tgz
cal/cal.php

diff --git a/cal.tgz b/cal.tgz
index b01a169dbeba86ac9b7f4305b4584b35654eac82..259d9563dd6dd560f3b684c12781d3c9925c9eb0 100644 (file)
Binary files a/cal.tgz and b/cal.tgz differ
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) .