List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 0/8] Show times in the originator's timezone
@ 2016-01-19 19:33 john
  2016-01-19 19:33 ` [PATCH 1/8] ui-shared: remove "format" from cgit_print_age() john
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: john @ 2016-01-19 19:33 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-02-08 15:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 19:33 [PATCH 0/8] Show times in the originator's timezone john
2016-01-19 19:33 ` [PATCH 1/8] ui-shared: remove "format" from cgit_print_age() john
2016-01-19 19:33 ` [PATCH 2/8] parsing: add timezone to ident structures john
2016-01-19 19:33 ` [PATCH 3/8] ui-shared: add cgit_date_mode() john
2016-02-08 13:20   ` Jason
2016-02-08 13:23     ` Jason
2016-01-19 19:33 ` [PATCH 4/8] ui-{commit,tag}: show dates in originator's timezone john
2016-01-19 19:33 ` [PATCH 5/8] ui: show ages in the " john
2016-01-19 19:33 ` [PATCH 6/8] ui-shared: use show_date for footer timestamp john
2016-01-19 19:33 ` [PATCH 7/8] ui-atom: use show_date directly for atom dates john
2016-01-19 19:33 ` [PATCH 8/8] ui-shared: remove cgit_print_date() john
2016-02-08 13:23 ` [PATCH 0/8] Show times in the originator's timezone Jason
2016-02-08 13:38   ` Jason
2016-02-08 14:08     ` john
2016-02-08 14:33       ` Jason
2016-02-08 15:05         ` [PATCH 1/2] Avoid DATE_STRFTIME for long/short dates john
2016-02-08 15:06           ` [PATCH 2/2] ui-atom: avoid DATE_STRFTIME john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).