ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories
GNU General Public License v3.0
2.35k stars 324 forks source link

How to use --since #185

Closed steevanb closed 5 years ago

steevanb commented 5 years ago

Hi,

This is not really an issue.

I'm looking for date format used by --since and --until. Documentation said the same as the format used in git itself, but i've trid some git date formats, no one seems to work.

Could you please update documentation with an example, or write an example here?

adam-waldenberg commented 5 years ago

Hi @steevanb The format is called Approxidate (already mentioned by the documentation). What it supports and not gets continuously updated. You can specify everything from strings to linux timestamps. Supplying some kind of complete documentation isn't really possible, as it is a floating implementation. Gitinspector simply calls since/until when it executes git exactly the way you specify it.

you can do for example gitinspectory.py --since="yesterday" or gitinspector.py --since="3 weeks" or gitinspectory.py --since="1/1/2010".

steevanb commented 5 years ago

Thanks!