@hjertnes/add
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
Last updated a year ago by ehjertnes .
MIT · Original npm · Tarball · package.json
$ cnpm install @hjertnes/add 
SYNC missed versions from official npm registry.

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)

Current Tags

  • 0.0.3                                ...           latest (a year ago)

3 Versions

  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 4
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |