-
Notifications
You must be signed in to change notification settings - Fork 33
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
new option start-month (or: allow incomplete date YYYY-MM) #61
Comments
Sounds useful to me.
So if start-date is 2018-10, end-date would be set to 2018-10/2018-10-31? And in other cases, if start-date is 2018-10-01 or -5, end-date is left to the default? |
Yes, I think you have it exactly right. So, the end-date default would depend on the start-date format. Not sure whether that is nice. |
Please see PR #71 which lets you do this: $ pypinfo --test --start-date 2018-04-01 --end-date 2018-04-30 setuptools
$ pypinfo --test --start-date 2018-04 --end-date 2018-04 setuptools
$ pypinfo --test --month 2018-04 setuptools |
Modificando link para o site dos dados da ufrn
This is possibly related to #47 as well as #48.
I would like to have statistics for each month, and this is achievable throught
--start-date
and--end-date
options, but for convenience it would be nice to be able to just specify the month like 2018-10.This could be either done using a new option
--start-month
or by allowing a start-date without the DD, that is automatically extended to first day of the month when used for start-date and to last day of the month when used as end-date.For both ways, start-month or incomplete start-date, the end-month or end-date should be automatically set to the (last day of the) same month by default, but changeable by the user.
Does this make sense?
The text was updated successfully, but these errors were encountered: