List for cgit developers and users
 help / color / mirror / Atom feed
From: john at keeping.me.uk (John Keeping)
Subject: Timezones in CGit
Date: Fri, 26 Jun 2015 12:07:46 +0100	[thread overview]
Message-ID: <20150626110746.GW18226@serenity.lan> (raw)

I've just realised that CGit prints dates either in the server's
timezone or in UTC.  I'm not sure how I've never spotted it before, but
I find it a bit surprising considering that Git's normal behaviour is to
show author/committer timestamps in the originator's timezone.

I'd like to change CGit's behaviour here, but I'm not sure if we can
consider it a bugfix when the "local-time" config variable is false or
if we need to introduce a new variable to control which of the following
timestamps are displayed in:

1. the originator's timezone
2. the server's timezone
3. UTC

What do people think?  Am I wrong that this is unexpected?


             reply	other threads:[~2015-06-26 11:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 11:07 john [this message]
2015-06-26 14:22 ` Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150626110746.GW18226@serenity.lan \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).