diff options
author | Stefan Naewe <stefan.naewe@atlas-elektronik.com> | 2008-08-01 14:54:38 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-08-01 22:09:13 +0200 |
commit | 0f0ab148c6d444316af10e6b4c7a60630fed45d3 (patch) | |
tree | a52c08e648c5d656866cecf78e757f2f85211b19 /ui-patch.c | |
parent | a1266edfe6ec1fd678c8f6b60ffbd21d88ff5a93 (diff) |
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>
Diffstat (limited to '')
-rw-r--r-- | ui-patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ void cgit_print_patch(char *hex) htmlf("From %s Mon Sep 17 00:00:00 2001\n", sha1_to_hex(sha1)); htmlf("From: %s%s\n", info->author, info->author_email); html("Date: "); - cgit_print_date(info->author_date, "%a, %d %b %Y %H:%M:%S %z%n"); + cgit_print_date(info->author_date, "%a, %d %b %Y %H:%M:%S %z%n", ctx.cfg.local_time); htmlf("Subject: %s\n\n", info->subject); if (info->msg && *info->msg) { htmlf("%s", info->msg); |