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