-#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)
{