git-svn messing with timezones
- From
- Tim Stoakes <tim@stoakes.net>
- Date
- Feb 26, 2008, 12:47 UTC
- Message-ID
- <20080226124748.GH31792@mail.stoakes.net>
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