Fix '--relative-date'
commitdbc1b1f71052c084a84b5c395e1cb4b5ae526fcb
authorJohan Sageryd <j416@1616.se>
Sat, 3 Oct 2009 04:20:18 +0000 (3 13:20 +0900)
committerJeff King <peff@peff.net>
Sat, 3 Oct 2009 10:04:38 +0000 (3 06:04 -0400)
tree6902dd23d4cec1554fd21be5ed5bf2e3cfee08e4
parentb4ae5e2ac4651097d0f2916f8e566f955a8fa586
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>
date.c
t/t0006-date.sh