leonid-shevtsov / git-timesheet Goto Github PK
View Code? Open in Web Editor NEWA script to create a timesheet from a git log
A script to create a timesheet from a git log
Just ran the script on my computer and it was printing the time in HH:SS instead of HH:MM.
I am on Mac OSX Mountain Lion.
I am using:
Git version 1.8.4.
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
tuqueja)tin@morochita:~/lab/tuqueja$ ./git-timesheet.rb | tail
09:34 float <09db44b>
09:55 import tqscommentvotes <2846533>
10:17 vote tambien borra el cache <6b68bab>
17:39 setup grappelli as admin interface <9823bba>
18:07 cache ranking smarter <ddae60a>
18:15 pdb <77cc4b1>
19:14 multifiltros <13319a2>
19:36 unicode <846d1b0>
(tuqueja)tin@morochita:~/lab/tuqueja$ ./git-timesheet.rb --since="2 week ago" | tail
09:34 float <09db44b>
09:55 import tqscommentvotes <2846533>
10:17 vote tambien borra el cache <6b68bab>
17:39 setup grappelli as admin interface <9823bba>
18:07 cache ranking smarter <ddae60a>
18:15 pdb <77cc4b1>
19:14 multifiltros <13319a2>
19:36 unicode <846d1b0>
As you can see, a have older commits
(tuqueja)tin@morochita:~/lab/tuqueja$ git --no-pager log --author=Martín --since="2 weeks ago" --format="%ad %s" --date=short | tail
2014-09-25 the ip bug
2014-09-25 suggestion 7200
2014-09-24 repo sorl
2014-09-24 thumb png
2014-09-24 main media
2014-09-24 no queries for s3
2014-09-24 no queries for s3
2014-09-24 sorl is buggy
2014-09-24 Merge branch 'release' of bitbucket.org:tqs/tqs into release
2014-09-24 keep the format
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.