Closed wpercy closed 6 years ago
@jakubroztocil any chance we could get a release with some of these bugfixes soon?
@espen thanks for looking through these issues. This has an open PR associated with it too if you'd like to review that as well
@wpercy I'm not too comfortable with the code to be merging PRs yet. Can you add some tests for it though?
From the docs, you can see that when you call
RRule.toString()
, the property value of WKST is an integer - in this case 0.But when you try to feed that back into the
RRule.fromString()
method, it returns an error:If you replace the
0
withMO
,fromString()
works as expected.According to RFC 5545, the
WKST
property should have a value ofweekday
, which is later defined as such