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

Allow period to parse by year #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

germainelee02
Copy link
Owner

@germainelee02 germainelee02 commented Jun 18, 2023

When using the `--period` flag, it can only parse by days and weeks. 
However, if one wants to look at a longer period, they might have to manually convert the period 
into days and weeks, which is very troublesome. 

Hence, I added the extra functionality of parsing by years so it 
accepts arguments such as '2y' to signify a period of 2 years.

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 this pull request may close these issues.

1 participant