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:

committato da
Lars Hjemli

parent
a1266edfe6
commit
0f0ab148c6
2
ui-tag.c
2
ui-tag.c
@ -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) {
|
||||
|
Fai riferimento in un nuovo problema
Block a user