Skip to content

Date Ranges #25

Open
Open

Description

@sokser

I am noticing that there is a bug in getting date ranges. For example:

irb(main):011:0> n = Nickel.parse "Sundays through Thursdays from Now to August 31"

produces
Occurrence type: weekly, start_date: 20140810, end_date: 20140831, interval: 1, day_of_week: 6, Occurrence type: weekly, start_date: 20140814, end_date: 20140828, interval: 1, day_of_week: 3

Activity

  1. sokser commented on Aug 20, 2014

    @sokser
    Author

    Looking further it seems to be an issue with Sunday being considered a different week than Thursday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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