VDS13 / telegram-inline-calendar

Date and time picker and Inline calendar for Node.js telegram bots
MIT License
88 stars 16 forks source link

Is it possible to not display a specific date and time? #12

Closed Ks-Andrey closed 11 months ago

Ks-Andrey commented 11 months ago

Can you tell me if it is possible to make the calendar appear without a specific date and time? And is it possible to make start_date together with time?

VDS13 commented 11 months ago

Hello, @Ks-Andrey) I don’t quite understand the question, can you be more specific?

Ks-Andrey commented 11 months ago

I'm making a tg bot for doctor's appointments. I need to make the selected date disappear from the calendar, can this be implemented?

VDS13 commented 11 months ago

Great idea) Not implemented at the moment, but I will try to release an update tomorrow/the day after tomorrow with the possibility of excluding certain dates/times.

Ks-Andrey commented 11 months ago

Thank you very much. Please make it possible to put not only date but also time in start_date)

VDS13 commented 11 months ago

Wouldn't the time_range parameter instead of start_time work for you?

Ks-Andrey commented 11 months ago

Nope( I want to do it this way. You can't book for a time that has already passed.

VDS13 commented 11 months ago

@Ks-Andrey, The finalization took a little longer, I will release an update tomorrow.

VDS13 commented 11 months ago

@Ks-Andrey , the functionality is implemented, you can update to 1.7.0 or 2.1.0)))

VDS13 commented 11 months ago

@Ks-Andrey, Can I close the issue?