Added local-time option to cgitrc

When `local-time` is set, commit, tag and patch timestamps will be printed
in the servers timezone. Also, regardless of the value of `local-time`,
these timestamps will now always show the timezone.

Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Stefan Naewe
2008-08-01 14:54:38 +02:00
committato da Lars Hjemli
parent a1266edfe6
commit 0f0ab148c6
7 ha cambiato i file con 17 aggiunte e 10 eliminazioni

Vedi File

@ -57,7 +57,7 @@ void cgit_print_tag(char *revname)
revname, sha1_to_hex(sha1));
if (info->tagger_date > 0) {
html("<tr><td>Tag date</td><td>");
cgit_print_date(info->tagger_date, FMT_LONGDATE);
cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time);
html("</td></tr>\n");
}
if (info->tagger) {