Skip to content

0.5.0 - Improved recurrences, weekday, testing

Compare
Choose a tag to compare
@scroskey-clinc scroskey-clinc released this 03 Feb 15:44
· 7 commits to master since this release
690c33b
  • Improved recurrence support:
    • Added anchor: times associated with a recurrence (e.g. "every sunday", where "sunday" is the anchored date which recurs on a weekly basis)
    • Added times: the amount of times that a recurrence happens within its value+grain (e.g. "twice per week" where "twice" is the times)
    • Other rule support: annual, everyday, semi-weekly/monthly/etc.
    • Removed ruleEveryOrdinal. This rule conflicted with anchored times and was fairly ambiguous
  • testing for position and recurrence:
    • Added the corpus for each to the corpus tests and fixed the test cases
  • weekday support:
    • Added weekday as a rule which refers to a day of the week (e.g. "next weekday" which returns "Monday" on a Saturday)
  • update README:
    • Added position and recurrence docs to README
    • Updated Fork information since we're syncing from master occasionally
  • Fixed debug mode for recurrences. Needed to add Time as a dependency