Skip to content

Commit

Permalink
fix: calendar event edit provider out of office php math error (opene…
Browse files Browse the repository at this point in the history
…mr#7850)

* fix: calendar event edit provider out of office php math error

* minor package-lock.json update
  • Loading branch information
stephenwaite authored Dec 2, 2024
1 parent e3e75b0 commit 9601f9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ccdaservice/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@
// calculate the duration from this event to the outevent
$outH = substr($outevent['startTime'], 0, 2);
$outM = substr($outevent['startTime'], 3, 2);
$outMins = ($outH * 60) + $outM;
$outMins = (intval($outH) * 60) + intval($outM);
$event['duration'] = ($outMins - $eStartMin) * 60; // duration is in seconds
$found = 2;
break;
Expand Down

0 comments on commit 9601f9b

Please sign in to comment.