xyzshantaram / etu

MIT License
1 stars 1 forks source link

Filter logs by month/week/day #6

Open xyzshantaram opened 2 months ago

xyzshantaram commented 2 months ago

etu log --timesheet is a pretty cool concept, but we can extend it further to grouping sessions by week/mth etc.

example:

week 1 ("implement timesheet functionality" and 2 other sessions)

but probably as a table.

The displayed session should be the longest one in that week, probably.

xyzshantaram commented 2 months ago

By default, log would output a per session log but you could also group by day/week/month (what timesheet does) with --days, --weeks, --months.

Filtering by day/week/month could be accomplished by --day 1 or --day 1-15.

Krishna-Sivakumar commented 1 month ago

I think it's a good idea to break out timesheet into its own command at this point and incorporate the following options:

  1. The timesheet for a particular month
  2. The timesheet since a particular day (full date)
  3. The timesheet within a date range (full dates)
  4. All the above but with the shorthand options --day, --weeks, --months Putting it up here for future reference

Will work on this at some point