summaryrefslogtreecommitdiff
path: root/archive.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2009-02-24 00:42:16 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-25 00:44:43 -0800
commit10edf37796badc58239eb3e5d1e8e608f6e1473c (patch)
tree7b1a5931d50bb76dff0901cb08c8e4c6d589d8b3 /archive.c
parentMerge git://git.bogomips.org/git-svn (diff)
downloadtgif-10edf37796badc58239eb3e5d1e8e608f6e1473c.tar.xz
never fallback relative times to absolute
Previously, for dates older than 12 months we fell back to just giving the absolute time. This can be a bit jarring when reading a list of times. Instead, let's switch to "Y years, M months" for five years, and then just "Y years" after that. No particular reason on the 5 year cutoff except that it seemed reasonable to me. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.c')
0 files changed, 0 insertions, 0 deletions