Skip to contentSkip to conversation

git svn timezone issue?

DISCUSSION Stefan Tatschner 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

at work we use svn, so I used "git svn" to import that stuff to git. Now it seems that there are some timezone issues. "git log" shows +0000 as timezone, while "git svn log" shows the correct timezone +0200.

$ git log -1
commit ceb8a8647e257d6caf2ad0ecc2298f8b269c9727
Author: John Doe <[email protected]>
Date:   Thu Jul 9 12:05:22 2015 +0000
$ git svn log -1                                                       
-----------------------------------------------------------------------
r1967 | doe | 2015-07-09 14:05:22 +0200 (Do, 09 Jul 2015) | 2 lines
$ git --version
git version 2.4.5
$ git svn --version
git-svn version 2.4.5 (svn 1.8.13)

Any ideas?

Thanks,
Stefan

#1 lore raw
Quoted 6 lines · Stefan Tatschner

Hi,

at work we use svn, so I used "git svn" to import that stuff to git. Now it seems that there are some timezone issues. "git log" shows +0000
as timezone, while "git svn log" shows the correct timezone +0200.

Ok, I just discovered the --localtime switch in the manpage. Sorry for the noise!

Thanks,
Stefan