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

Add a Preferred Time slot #14

Closed
tapabrata19 opened this issue Oct 20, 2022 · 4 comments · Fixed by #23
Closed

Add a Preferred Time slot #14

tapabrata19 opened this issue Oct 20, 2022 · 4 comments · Fixed by #23

Comments

@tapabrata19
Copy link

Like we have the preferred day, can we have a preferred time slot as well? So that the bot looks for a specific time window.
e.g. 8am-10am, 10am-12pm, 12pm-2pm, 2pm-4pm, 4pm-6pm

@phamleduy04
Copy link
Owner

I have thought about this, but I don't really know the best way to implement this. But I will try my best on next update :)

@phamleduy04
Copy link
Owner

Hey @tapabrata19, I need your help :)

Like I said before, I don't really know what is the best way to implement this. I have ideas like this

  1. User will provide an array of their wanted time:
  • Example: ["2pm - 4pm"]
  • Format per element: <time><am/pm> - <time><am/pm>

Not sure it will work but let me know if you have a better way to implement this. Thank you :)

@yusufqxzi
Copy link

do this

@WilsonAkalol
Copy link

This should have always been added. I know you want the closest appointment but arbitrarily assigning the time value is annoying because what if you have work in the morning hours but free in the later hours?

phamleduy04 added a commit that referenced this issue Jan 25, 2023
phamleduy04 added a commit that referenced this issue Jan 25, 2023
- add eslint to github actions
- update deps
- closes #14 and type check config
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 a pull request may close this issue.

4 participants