diff options
| author | Lars Hjemli <hjemli@gmail.com> | 2006-12-16 00:33:28 +0100 | 
|---|---|---|
| committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-16 00:33:28 +0100 | 
| commit | 148fb9622c6a96021e572d1a372e38896506031f (patch) | |
| tree | 2bfde276f3fed3b3a42afbdd90a64c98d0502ae3 /ui-commit.c | |
| parent | Add ui-commit.c + misc ui cleanups (diff) | |
| download | cgit-148fb9622c6a96021e572d1a372e38896506031f.tar.gz cgit-148fb9622c6a96021e572d1a372e38896506031f.tar.bz2 cgit-148fb9622c6a96021e572d1a372e38896506031f.zip | |
Move cgit_print_date into ui-shared, reuse in ui-summary
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
| -rw-r--r-- | ui-commit.c | 11 | 
1 files changed, 0 insertions, 11 deletions
| 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; | 
