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

Add filter log by "today" #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add filter log by "today" #17

wants to merge 1 commit into from

Conversation

dhontecillas
Copy link

In the docs says that we can pass a today param to the ti log command, but it is not implemented.

I tried to add the functionality using a Period class to check for intersections of time. I though that in the future we can improve and add more time periods, like "this week" , or "before 2018-01-01", and so one.

I did not add unit test, because there is no file for tests yet, but I can add them if you are ok with it.

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