git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn messing with timezones
@ 2008-02-26 12:47 Tim Stoakes
  2008-02-27  7:32 ` Eric Wong
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Stoakes @ 2008-02-26 12:47 UTC (permalink / raw)
  To: git; +Cc: normalperson

Hi all,

When I commit to git, the log shows the correct timezone:
  Date:   Tue Feb 26 23:10:24 2008 +1030

However, when I then dcommit this to SVN with git-svn, the timezone gets
mangled. If I now 'git log', the same commit shows
  Date:   Tue Feb 26 12:40:24 2008 +0000

The 'svn log' of that same revision shows the correct timezone:
r151 | foo | 2008-02-26 23:10:24 +1030 (Tue, 26 Feb 2008) | 2 lines
so, I know it's git-svn doing it, not svn itself.

The same mangling has happened to commits that came through the original
git-svn import, and subsequent 'git-svn rebase's.

I've tried things like:
$ TZ=Australia/Adelaide git svn dcommit
all end in the same result - UTC appears in the logs.

I'm using:
git version 1.5.4.3

Can anyone help?
Thanks
Tim

-- 
Tim Stoakes

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

end of thread, other threads:[~2008-02-27 23:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-26 12:47 git-svn messing with timezones Tim Stoakes
2008-02-27  7:32 ` Eric Wong
2008-02-27 10:26   ` Tim Stoakes
2008-02-27 10:40     ` Johannes Schindelin
2008-02-27 12:29       ` [PATCH] Documentation/git svn log: add a note about timezones Miklos Vajna
2008-02-27 12:33         ` Johannes Schindelin
2008-02-27 13:13           ` Miklos Vajna
2008-02-27 13:15             ` Johannes Schindelin
2008-02-27 23:09       ` git-svn messing with timezones Tim Stoakes
2008-02-27 23:23         ` Junio C Hamano
2008-02-27 16:21     ` Seth Falcon

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