diff options
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index 54bbde7..76aac60 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -635,7 +635,7 @@ static void print_rel_date(time_t t, double value, | |||
635 | htmlf("'>%.0f %s</span>", value, suffix); | 635 | htmlf("'>%.0f %s</span>", value, suffix); |
636 | } | 636 | } |
637 | 637 | ||
638 | void cgit_print_age(time_t t, time_t max_relative, const char *format) | 638 | void cgit_print_age(time_t t, time_t max_relative) |
639 | { | 639 | { |
640 | time_t now, secs; | 640 | time_t now, secs; |
641 | 641 | ||
@@ -650,7 +650,7 @@ void cgit_print_age(time_t t, time_t max_relative, const char *format) | |||
650 | html("<span title='"); | 650 | html("<span title='"); |
651 | html_attr(fmt_date(t, FMT_LONGDATE, ctx.cfg.local_time)); | 651 | html_attr(fmt_date(t, FMT_LONGDATE, ctx.cfg.local_time)); |
652 | html("'>"); | 652 | html("'>"); |
653 | cgit_print_date(t, format, ctx.cfg.local_time); | 653 | cgit_print_date(t, FMT_SHORTDATE, ctx.cfg.local_time); |
654 | html("</span>"); | 654 | html("</span>"); |
655 | return; | 655 | return; |
656 | } | 656 | } |