Package: git
Version: 1:2.1.4-2.1
Severity: normal

It seems --date always uses UTC instead of the user's timezone.

When trying to specify the author date of a commit, I observe:

    % git ci --date='08:39:39' -am "r_patch.c: FillEmptyPixels: code common to 
createPatch/Texture"
    [master 5734838] r_patch.c: FillEmptyPixels: code common to 
createPatch/Texture
     Date: Wed Apr 1 07:39:39 2015 +0000
     1 file changed, 52 insertions(+), 86 deletions(-)

I expected 08:39:39 +0100, but I get 07:39:39 +0000.

Trying to force it also has no effect:

    % git ci --amend --date='08:39:39 +0100'
    [master ee62730] r_patch.c: FillEmptyPixels: code common to 
createPatch/Texture
     Date: Wed Apr 1 07:39:39 2015 +0000
     1 file changed, 52 insertions(+), 86 deletions(-)

(Noticed since the UK recently switched from GMT to BST.)

-- 
http://rjy.org.uk/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to