From 148fb9622c6a96021e572d1a372e38896506031f Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 16 Dec 2006 00:33:28 +0100 Subject: Move cgit_print_date into ui-shared, reuse in ui-summary Signed-off-by: Lars Hjemli --- ui-commit.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ui-commit.c') diff --git a/ui-commit.c b/ui-commit.c index 1c0e7e5..2d38f0b 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -1,16 +1,5 @@ #include "cgit.h" -void cgit_print_date(unsigned long secs) -{ - char buf[32]; - struct tm *time; - - time = gmtime(&secs); - strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", time); - html_txt(buf); - -} - void cgit_print_commit(const char *hex) { struct commit *commit; -- cgit v1.2.3-59-g8ed1b