Skip to content

Weird rule text when select the whole week and set the interval #534

Open
@Aaron-Lin-74

Description

@Aaron-Lin-74

Reporting an issue

  • Verify that you've looked through existing issues for duplicates before
    creating a new one
  • Code sample reproducing the issue. Be sure to include all input values you
    are using such as the exact RRule string and dates.
    new RRule({ freq: RRule.WEEKLY, count: 0, interval: 5, wkst: RRule.TU, byweekday: [RRule.MO, RRule.TU, RRule.WE, RRule.TH, RRule.FR, RRule.SA, RRule.SU] }))
    rule.toString(): RRULE:FREQ=WEEKLY;COUNT=0;INTERVAL=5;WKST=TU;BYDAY=MO,TU,WE,TH,FR,SA,SU
    rule.toText()
  • Expected output
    every 5 weeks for the whole week
  • Actual output
    every 5 weeks days
  • The version of rrule you are using
    2.6.4
  • Your operating system
    windows 10
  • Your local timezone (run $ date from the command line
    of the machine showing the bug)
    Fri Jul 15 15:05:49 AEST 2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions