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

Other values for rotationExcludedHours #33

Open
mike-migale-cko opened this issue Nov 9, 2021 · 0 comments
Open

Other values for rotationExcludedHours #33

mike-migale-cko opened this issue Nov 9, 2021 · 0 comments

Comments

@mike-migale-cko
Copy link

mike-migale-cko commented Nov 9, 2021

Hi everyone,

I was trying to use the script and would need some advice. I need to Exclude hours for weekends, from 9.00 am to 6.00 pm. I added the following since I needed to calculate only "night" hours for weekends
rotationExcludedHours:

  • day: saturday
    excludedStartsAt: 9
    excludedEndsAt: 18
  • day: sunday
    excludedStartsAt: 9
    excludedEndsAt: 18

I also tried this:
rotationExcludedHours:

  • day: weekend
    excludedStartsAt: 9
    excludedEndsAt: 18
    However both did return me 48 hours for the weekend hours instead of 30 hours (15 hours x 2 days). Is there something I did wrong or can you help understanding this section?

Thank you in advance.

Best regards,
Mike M.

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