Closed chotiwat closed 6 years ago
Can you show an example? I am unable to reproduce it.
var rule = new RRule({
freq: RRule.WEEKLY,
wkst: RRule.SU
});
rule.toString() => "FREQ=WEEKLY;WKST=SU;"
Oh, I specify an integer value for wkst when creating new RRule object like this:
var rule = new RRule({
freq: RRule.WEEKLY,
wkst: 6
});
rule.toString() => "FREQ=WEEKLY;WKST=6"
Is this issue being looked at?
Closing due to same as #187
According to the RFC 2445 and 5545, shouldn't the WKST values be converted to the format "MO", "TU", "WE", etc. when calling toString()? Currently WKST values will be outputted as number values which some calendar applications deem invalid.