diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-21 09:08:26 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-21 09:08:26 +0200 |
commit | 82e8cb23fe2594e089225a3df2b85a21c980648b (patch) | |
tree | cb5bb0a5840b84c287e9d2889e7fca760c7fe785 /apps/calendar/lib | |
parent | 40e7b567833ae74051e9d14adc3335a79732ca04 (diff) | |
parent | cc3835d65711a6db3472d2ef7f84a59b112dbe7c (diff) | |
download | nextcloud-server-82e8cb23fe2594e089225a3df2b85a21c980648b.tar.gz nextcloud-server-82e8cb23fe2594e089225a3df2b85a21c980648b.zip |
Merge branch 'master' into calendar_export
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/object.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index a6ae6590080..7f3322b1ab5 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -814,7 +814,7 @@ class OC_Calendar_Object{ if($allday){ $return['start'] = $start_dt->format('Y-m-d'); $end_dt->modify('-1 minute'); - while($start_dt->format('U') >= $end_dt->format('U')){ + while($start_dt >= $end_dt){ $end_dt->modify('+1 day'); } $return['end'] = $end_dt->format('Y-m-d'); |