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