rrule-temporal 0.2.2 → 0.2.4

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.cjs CHANGED
@@ -242,7 +242,7 @@ var RRuleTemporal = class {
242
242
  }
243
243
  computeFirst() {
244
244
  let zdt = this.originalDtstart;
245
- if (this.opts.freq === "WEEKLY" && this.opts.byDay?.length) {
245
+ if (this.opts.byDay?.length) {
246
246
  const dayMap = {
247
247
  MO: 1,
248
248
  TU: 2,
package/dist/index.js CHANGED
@@ -218,7 +218,7 @@ var RRuleTemporal = class {
218
218
  }
219
219
  computeFirst() {
220
220
  let zdt = this.originalDtstart;
221
- if (this.opts.freq === "WEEKLY" && this.opts.byDay?.length) {
221
+ if (this.opts.byDay?.length) {
222
222
  const dayMap = {
223
223
  MO: 1,
224
224
  TU: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrule-temporal",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Recurrence rule processing using Temporal PlainDate/PlainDateTime",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",