artembakhanov/python-telegram-bot-calendar

How can I remove year 2020 and start from 2021 onwards?

Closed this issue · 4 comments

How can I remove year 2020 and start from 2021 onwards?

@geraldspacelim Look at this example, you can set min_date.

@makaramkd thanks! however im looking at starting the year at 2021 then 2022... instead of starting at 2020. Also, is there a way that i can start off in the month selection instead of the year?

@geraldspacelim

however im looking at starting the year at 2021 then 2022... instead of starting at 2020

I still do not understand why can't you specify min_date=date(year=2021)?

Also, is there a way that i can start off in the month selection instead of the year?

Do you want to exclude some month options from the selection? For example, each year you want it to be from June?

Closing the issue because of lack of activity. Feel free to reopen it.