@webex/internal-plugin-calendar 3.0.0-beta.4 → 3.0.0-beta.400

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/util.js CHANGED
@@ -1,5 +1,4 @@
1
1
  const CalendarUtil = {
2
-
3
2
  // calculate the end time for the meeting based on the duration so it's stored on
4
3
  // the scheduled meeting item, that way client can display start and end without
5
4
  // calculation on their side
@@ -13,8 +12,11 @@ const CalendarUtil = {
13
12
  * @memberof CalendarUtil
14
13
  */
15
14
  calculateEndTime(item) {
16
- return {...item, endTime: new Date(new Date(item.start).getTime() + item.durationMinutes * 60000)};
17
- }
15
+ return {
16
+ ...item,
17
+ endTime: new Date(new Date(item.start).getTime() + item.durationMinutes * 60000),
18
+ };
19
+ },
18
20
  };
19
21
 
20
22
  export default CalendarUtil;