X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=date.c;h=5d05ef61cfb140f004702a5ed614afa755c50670;hb=fe12d8e84f745303d64757307e9a6a81a6608018;hp=e9ee4aa7484c531fab8e6d24fbdabdc640378e28;hpb=e4d1afbcf2e39a997ae90befd629ee53e444c4c9;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; }