@internationalized/date 3.3.1-nightly.4013 → 3.3.1-nightly.4014

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/module.js CHANGED
@@ -981,10 +981,11 @@ function $735220c2d4774dd3$var$cycleValue(value, amount, min, max, round = false
981
981
  }
982
982
  function $735220c2d4774dd3$export$96b1d28349274637(dateTime, duration) {
983
983
  let ms;
984
- if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.days != null && duration.days !== 0) {
984
+ if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {
985
985
  let res = $735220c2d4774dd3$export$e16d8520af44a096((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), {
986
986
  years: duration.years,
987
987
  months: duration.months,
988
+ weeks: duration.weeks,
988
989
  days: duration.days
989
990
  });
990
991
  // Changing the date may change the timezone offset, so we need to recompute