@hjertnes/add
v0.0.3
Published
This is a tiny utility I have written for myself to deal with building summaries and getting a status of my timesheets. Basically: when did I start and end work on which days, how much should I have worked in total and how much have I worked and a differe
Downloads
4
Readme
Readme
This is a tiny utility I have written for myself to deal with building summaries and getting a status of my timesheets. Basically: when did I start and end work on which days, how much should I have worked in total and how much have I worked and a difference between the two.
It uses a simple text file as a database, and writes the summary to another text file. The format is like this: YYYY-MM-DD: HH:mm - HH:mm or if I'm taking thed day off(basically the same as a day where I add 0 hours) YYYY-MM-DD: Off
Config
All the config is done through enviornment variables
- DBFILE (the file to read from)
- AGGFILE (the file to write the summary to)
- DAY (how long a working day is in minutes, minus break)
- BREAK (how long your break is in minutes)
Install, run etc
- Written in node
- Requires Node 10
- yarn global add @hjertnes/timesheet
Debug
set DEBUG to something to get more output(currenlty the active config)