@wistia/vhs 4.0.1-beta.a95365a2.adfaa20 → 4.0.1-beta.b9e4e3fa.3ea9116

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/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v4.0.1-beta.a95365a2.adfaa20
3
+ * @license @wistia/vhs v4.0.1-beta.b9e4e3fa.3ea9116
4
4
  *
5
5
  * Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -219,7 +219,9 @@ var dateOnlyStringForSentence = (date, { timeZone = defaultTimeZone } = {}) => {
219
219
  }
220
220
  };
221
221
  var timeAgoString = (date, { nowAnchor = /* @__PURE__ */ new Date(), includeTime = true } = {}) => {
222
- if (isInvalidDate(date)) return "";
222
+ if (isInvalidDate(date)) {
223
+ return "";
224
+ }
223
225
  const minutesAgo = (nowAnchor.valueOf() - date.valueOf()) / (secondsInMinute * milisecondsInSecond);
224
226
  const minutesAgoRounded = Math.round(minutesAgo);
225
227
  const differenceInDays2 = differenceInCalendarDays(nowAnchor, date);