From 90a98e029688730fcaa9e6199b06bbce85a13df3 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:41:04 -0700 Subject: Print the commit and tag dates through one helper --- source/ui-shared.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index 8c5e4e5..5e2a9de 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1308,6 +1308,15 @@ void cgit_print_age(time_t t, int tz, time_t max_relative) print_rel_date(t, tz, secs * 1.0 / SECONDS_PER_YEAR, "age-years", "years"); } +void cgit_print_date(timestamp_t date, int tz) +{ + html(""); +} + void cgit_print_person(const char *name, const char *email, const char *origin, int show_email) { cgit_open_filter(ctx.repo->email_filter, email ? email : "", origin); -- cgit