X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=date.c;h=5d05ef61cfb140f004702a5ed614afa755c50670;hb=958742ba43a0e3847cc7095869f0d96febe47132;hp=e9ee4aa7484c531fab8e6d24fbdabdc640378e28;hpb=6e4ece61ff9c4c0a0c7eac43fca74ca1b5548e98;p=git.git diff --git a/date.c b/date.c index e9ee4aa74..5d05ef61c 100644 --- a/date.c +++ b/date.c @@ -123,7 +123,7 @@ const char *show_date_relative(unsigned long time, int tz, return timebuf; } /* Say months for the past 12 months or so */ - if (diff < 360) { + if (diff < 365) { snprintf(timebuf, timebuf_size, "%lu months ago", (diff + 15) / 30); return timebuf; }