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

Adding Weekdays Configuration Option #590

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Adding Weekdays Configuration Option #590

merged 2 commits into from
Oct 31, 2023

Conversation

kyleklaussconn
Copy link
Contributor

Updates to issue outlined in previous PR referenced here: #507

smulube and others added 2 commits August 30, 2022 13:15
Update TimeRange to include weekdays

- add weekdays slice as field to TimeRange
- update constructor to remove possible panic, instead return error
- update tests now the TimeRange constructor now returns an error
- convert tests to table test format

Update sessionFactory to set weekdays property

- update code that creates TimeRange to handle errors
- read and set the Weekdays value if provided, erroring if it is given
  with StartDay/EndDay.

Update session_test to handle timerange error
@ackleymi ackleymi merged commit efa0bdd into main Oct 31, 2023
12 checks passed
@ackleymi ackleymi added this to the v0.9.0 milestone Nov 13, 2023
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

Successfully merging this pull request may close these issues.

3 participants