From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Thu, 13 Aug 2015 12:24:34 +0100 Subject: [PATCH 3/3] ui-shared: show full date in tooltip if longer ago than max_relative In-Reply-To: References: Message-ID: Commit caed6cb (ui-shared: show absolute time in tooltip for relative dates, 2014-12-20) added a toolip when we show a relative time. However, in some cases we show a short date (that is, the date but not the time) if an event was sufficiently far in the past and that commit did not update that case to add the same tooltip. Signed-off-by: John Keeping --- ui-shared.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui-shared.c b/ui-shared.c index 792f3ee..57d7336 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -644,7 +644,11 @@ void cgit_print_age(time_t t, time_t max_relative, const char *format) secs = 0; if (secs > max_relative && max_relative >= 0) { + html(""); cgit_print_date(t, format, ctx.cfg.local_time); + html(""); return; } -- 2.5.0.466.g9af26fa