From 0f0ab148c6d444316af10e6b4c7a60630fed45d3 Mon Sep 17 00:00:00 2001 From: Stefan Naewe Date: Fri, 1 Aug 2008 14:54:38 +0200 Subject: 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 Signed-off-by: Lars Hjemli --- ui-tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-tag.c') diff --git a/ui-tag.c b/ui-tag.c index ab2c66d..b4db32e 100644 --- a/ui-tag.c +++ b/ui-tag.c @@ -57,7 +57,7 @@ void cgit_print_tag(char *revname) revname, sha1_to_hex(sha1)); if (info->tagger_date > 0) { html("Tag date"); - cgit_print_date(info->tagger_date, FMT_LONGDATE); + cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time); html("\n"); } if (info->tagger) { -- cgit v1.1