0.0
No commit activity in last 3 years
No release in over 3 years
Receive n files as command line parameters, parse these files and then, calculates how many hours has been worked.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Txt-timesheet Gem Version

Timesheet calculator for .txt files.

Installation

gem install txt_timesheet

How it works

Given 3 files like these

file1.txt:

## Timesheet

morning: 09:13
brb lunch: 12:03
back: 13:56
leaving: 20:53

## What Happened?

file2.txt:

## Timesheet

morning: 09:59
brb lunch: 12:07
back: 13:40
brb: 18:41
back: 20:53
leaving: 22:53

## Daily report

Leaving:

file3.txt:

## Timesheet

morning: 09:45
brb lunch: 12:28
back: 13:31
brb: 18:07
back: 23:11
leaving: 23:11

## Daily report

Leaving:
- syncs with Flávia, and with Iago and Arthur
- started working on CRM side to create user with password in authenticator

Your output should be like this:

$ timesheet file1.txt file2.txt file3.txt     

REPORT:
file1.txt: 09:47 hours
file2.txt: 09:09 hours
file3.txt: 07:19 hours
Total Hours: 26:15 hours