Timezones in CGit

John Keeping john at keeping.me.uk
Fri Jun 26 13:07:46 CEST 2015


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?


More information about the CGit mailing list