git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Date format in 'git log' should be in local timezone
@ 2014-01-18  0:11 Yuri
  2014-01-18  0:28 ` Jonathan Nieder
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri @ 2014-01-18  0:11 UTC (permalink / raw)
  To: git

Currently git log mixes timezones in the date records in the same log, 
so the following dates wold appear in one log:
Date:   Thu Jan 16 17:11:28 2014 -0800
Date:   Thu Jan 16 20:10:04 2014 -0500

Timezone here doesn't help the log reader at all. It doesn't even 
reflect the actual location of the submitter. Instead, it should be 
converted to the local TZ of the client. This will make it easier to 
read and understand the time.

Even further, timezone shouldn't even be stored by the git server. It 
should just store the UTC time, following the approach how time is 
managed in most UNIX-like systems.

Yuri

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

end of thread, other threads:[~2014-01-18  0:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-18  0:11 Date format in 'git log' should be in local timezone Yuri
2014-01-18  0:28 ` Jonathan Nieder

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).