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

Total time information #356

Closed
pylipp opened this issue Mar 23, 2020 · 1 comment · Fixed by #357
Closed

Total time information #356

pylipp opened this issue Mar 23, 2020 · 1 comment · Fixed by #357

Comments

@pylipp
Copy link
Contributor

pylipp commented Mar 23, 2020

I'm looking for a way to obtain total time information of a time period of interest, e.g. the current day.

watson report --day outputs a final line about total time of the day's frames, so I could pipe it into tail -n1.
However this final line is skipped if only a single project occurred that day (see https://github.com/TailorDev/Watson/blob/master/watson/cli.py#L696 )

Hence the questions:

  • Is there a more clever way to obtain total time information of the current day?
  • If not; are there objections to remove the condition mentioned above, and always have watson report the total time information?
@jmaupetit
Copy link
Member

I think we are not consistent here, we should always print the total time information. Are you willing to work on it and propose a PR? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants