Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87fa94c2 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

variable deifned

parent f8b2a81e
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -33,8 +33,8 @@
 	/**

--- ./apps/dav/lib/CalDAV/Schedule/IMipPlugin.php	2022-06-30 10:22:42.346419100 +0530
+++ ./apps/dav/lib/CalDAV/Schedule/IMipPlugin-new.php	2022-06-30 10:23:55.506419100 +0530
@@ -419,23 +419,34 @@
+++ ./apps/dav/lib/CalDAV/Schedule/IMipPlugin-new.php	2022-07-01 09:03:16.414034600 +0530
@@ -419,23 +419,37 @@
 	 * @param VEvent $vevent
 	 */
 	private function generateWhenString(IL10N $l10n, VEvent $vevent) {
@@ -45,6 +45,9 @@
-			$isFloating = $vevent->DTSTART->isFloating();
-			$dtend = clone $vevent->DTSTART;
+		$lastmodified=0;
+		$dtStartFinal= $vevent->DTSTART;
+		$dtEndtFinal= $vevent->DTEND;
+		$durationFinal= $vevent->DURATION;
+		foreach( $vevent as $vevent1){
+			$dtstamp= $vevent1->{'LAST-MODIFIED'};
+			$dtstampTime = strtotime($dtstamp);
@@ -80,4 +83,3 @@
 		}

 		$isAllDay = $dtstart instanceof Property\ICalendar\Date;