From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Tue, 19 Jan 2016 19:33:00 +0000 Subject: [PATCH 0/8] Show times in the originator's timezone Message-ID: This is the result of an issue I identified a while ago [1]. Now that we use Git 2.7 we can use the timezone handling code in libgit.a without needing to use a very specific format when showing times in the local timezone. This changes the default used for displaying times from commits and tags to use the timezone specified in the commit/tag object. The "local-time" configuration option works exactly as it did before, but the previous default behaviour of using UTC is no longer supported. I think this is reasonably because it brings us closer to the behaviour of the Git utilities as well as Gitweb and other web frontends for Git repositories. [1] http://article.gmane.org/gmane.comp.version-control.cgit/2515 John Keeping (8): ui-shared: remove "format" from cgit_print_age() parsing: add timezone to ident structures ui-shared: add cgit_date_mode() ui-{commit,tag}: show dates in originator's timezone ui: show ages in the originator's timezone ui-shared: use show_date for footer timestamp ui-atom: use show_date directly for atom dates ui-shared: remove cgit_print_date() cgit.h | 3 +++ parsing.c | 10 ++++++---- ui-atom.c | 9 +++++++-- ui-commit.c | 6 ++++-- ui-log.c | 4 ++-- ui-refs.c | 6 +++--- ui-repolist.c | 2 +- ui-shared.c | 47 ++++++++++++++++++----------------------------- ui-shared.h | 4 ++-- ui-tag.c | 3 ++- 10 files changed, 48 insertions(+), 46 deletions(-) -- 2.7.0.226.gfe986fe