threads / discuss / 39819

git svn timezone issue?

Subject: git svn timezone issue?

## tl;dr

2 messages between Jul 9, 2015 and Jul 9, 2015.

replies: 1people: 1as markdown or json

Stefan Tatschner· Jul 9, 2015, 13:28 UTC · lore
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 <john@doe.com>
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

Stefan Tatschner· Jul 9, 2015, 13:30 UTC · re: Stefan Tatschner · lore

Re: git svn timezone issue?

On Do, 2015-07-09 at 15:28 +0200, Stefan Tatschner wrote:
Show 6 quoted lines
> 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

← back to recent threads