slgobinath / gcalendar

Read-only Google Calendar utility for Linux
GNU General Public License v3.0
47 stars 4 forks source link

Listing events from the past #8

Open JaTaSn opened 3 years ago

JaTaSn commented 3 years ago

It would be useful to be able to list past events with the terminal client. By making the change

#        start_time = str(current_time.isoformat())
        start_time = str((current_time - relativedelta(days=no_of_days)).isoformat())

in main.py the terminal client outputs past events, so there is no API restriction to doing this. I would try to add this myself, but I do not know enough python to understand the command line argument parsing.