diff options
author | Johan Sageryd <j416@1616.se> | 2009-10-03 13:20:18 +0900 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2009-10-03 06:04:38 -0400 |
commit | dbc1b1f71052c084a84b5c395e1cb4b5ae526fcb (patch) | |
tree | 6902dd23d4cec1554fd21be5ed5bf2e3cfee08e4 /t/t0006-date.sh | |
parent | b4ae5e2ac4651097d0f2916f8e566f955a8fa586 (diff) | |
download | git-dbc1b1f71052c084a84b5c395e1cb4b5ae526fcb.tar.gz |
Fix '--relative-date'
This fixes '--relative-date' so that it does not give '0
year, 12 months', for the interval 360 <= diff < 365.
Signed-off-by: Johan Sageryd <j416@1616.se>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t0006-date.sh')
-rwxr-xr-x | t/t0006-date.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0006-date.sh b/t/t0006-date.sh index a4d8fa8fa1..75b02af86d 100755 --- a/t/t0006-date.sh +++ b/t/t0006-date.sh @@ -24,6 +24,7 @@ check_show 13000000 '5 months ago' check_show 37500000 '1 year, 2 months ago' check_show 55188000 '1 year, 9 months ago' check_show 630000000 '20 years ago' +check_show 31449600 '12 months ago' check_parse() { echo "$1 -> $2" >expect |