X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9a8f88658d51aeb86a79ac1121de13562ad2601f..6c14f5e457e17da9205588c273d7cb9f92a23b9f:/ui-commit.c?ds=sidebyside diff --git a/ui-commit.c b/ui-commit.c index 1c0e7e5..2d36015 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -1,15 +1,12 @@ -#include "cgit.h" - -void cgit_print_date(unsigned long secs) -{ - char buf[32]; - struct tm *time; +/* ui-commit.c: generate commit view + * + * Copyright (C) 2006 Lars Hjemli + * + * Licensed under GNU General Public License v2 + * (see COPYING for full license text) + */ - time = gmtime(&secs); - strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", time); - html_txt(buf); - -} +#include "cgit.h" void cgit_print_commit(const char *hex) {