Skip to content

Timewarrior extension to calculate percentage of a particular tag on the day

License

Notifications You must be signed in to change notification settings

crossbone-magister/tag-percentage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tag percentage Timewarrior extension

This Timewarrior extension calculates the percentage of time registered for a particular tag on the total for each day in the input intervals.

Installation

  1. Download the latest executable for your operating system from the releases page.
  2. Add it to the Timewarrior extension folder as described in the documentation.
  3. Verify that the extension is active and installed by running timew extensions.

Configuration

Add the entry reports.tagpercentage.target Timewarrior configuration to allow this extension to work. Its value represents the tag to look for when calculating percentages.

For example:

timew config reports.tagpercentage.target project1

Sets the label project1 as the target for this extension.

Usage

In a terminal window, run timew tag-percentage. An example output could be:

2024-01-01 - project1: 80.39%
2024-01-02 - project1: 71.12%
2024-01-03 - project1: 23.67%
2024-01-04 - project1: 45.96%
2024-01-05 - project1: 85.71%
2024-01-06 - project1: 32.56%
Average percentage: 56.57%

About

Timewarrior extension to calculate percentage of a particular tag on the day

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages