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

Disable certain days of the week #29

Closed
ArmandoAmador opened this issue May 23, 2023 · 2 comments
Closed

Disable certain days of the week #29

ArmandoAmador opened this issue May 23, 2023 · 2 comments

Comments

@ArmandoAmador
Copy link

Hi, awesome lib!

I was wondering is there a way to disable certain days of the week for every week. I'm thinking whether it's a holiday or the business doesn't operate let's say on Tuesday and Thursday, how can I go about disabling those days in this lib?

Thank you in advance

@igor-ribeiro
Copy link
Owner

Hey @ArmandoAmador ! Thanks for the compliment.

You can achieve that with the transformer, the third argument to .detailed()

@ArmandoAmador
Copy link
Author

I meant to update my response here that I had figured out how to do it with the transformer. Once again @igor-ribeiro thank you for your hard work providing us with this cool lib!

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

2 participants