Skip to content
package for parsing timesheet file format
Go Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
cmd
parser
testdata
token
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
go.mod
go.sum
license_test.go
onchange.sh
report.go
report_test.go
sheet.go
sheet_test.go
tagged.go
tagged_test.go

README.md

Build Status codecov Maintainability

go-timesheet - package for parsing the timesheet fileformat

Quick Start

go get -u github.com/gregoryv/go-timesheet/...
gensheet -h

This package contains parser and commands for manipulating timesheet files.

Let's face it, timesheets are extremely boring to fill out so I decided to fix that. Check out the timesheet fileformat, it's readable, lightweight and versatile enough to accommodate most situations.

By default the command gensheet generates an 8 hour working day timesheet already filled out, assuming you will be working each weekday. Save it, put it under version control, do what you want with it.

To summarize your timesheets use the worklog command.

Summarize one timesheet

worklog 201801.timesheet

The output summarizes all tagged values in that timesheet.

2018 January    179:30   (8:00 semester)

                       +179:30
                              8:00 semester

Expected vs. actual worked hours

worklog -origin expected/ 201801.timesheet

The output summarizes all tagged values and reported time and calculates how much overtime you have put in if any. The expected directory is assumed to contain a timesheet with the same name to compare with.

You can’t perform that action at this time.