Skip to content

Commit 20e1589

Browse files
committed
fix typo/bug affecting rrulestr() options.dtstart and options.compatible
1 parent b63136b commit 20e1589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rrule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,7 @@
21962196
}
21972197
}
21982198

2199-
if (options.campatiable && options.dtstart) rset.rdate(dtstart)
2199+
if (options.compatible && options.dtstart) rset.rdate(dtstart)
22002200
return rset
22012201
} else {
22022202
return this._parseRfcRRule(rrulevals[0], {

0 commit comments

Comments
 (0)