Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcards on days #11

Open
mattiasnordqvist opened this issue Oct 6, 2016 · 1 comment
Open

Wildcards on days #11

mattiasnordqvist opened this issue Oct 6, 2016 · 1 comment

Comments

@mattiasnordqvist
Copy link
Owner

mattiasnordqvist commented Oct 6, 2016

For some reason at hh:00 is parsed together with the next ints, 08 and 00.

This test is already in master-branch, ready to be greened.

 [Test]
 public void HourMisinterpretedAsMinute()
 {
     "every monday at hh:00 between 08:00 and 15:00".From("2015-08-16 00:00").Gives("2015-08-17 08:00");
}
@mattiasnordqvist
Copy link
Owner Author

mattiasnordqvist commented Oct 7, 2016

Nooo you can't use offsets on weekdays, Offsets are for every hour or every minute.

But maybe this is a good idéa? Using offsets on days could be interpreted as wildcards instead. In this case it would mean every hour on mondays (@ hh:00).

@mattiasnordqvist mattiasnordqvist changed the title Failing test datetime-parsing Wildcards on days Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant