]> git.ipfire.org Git - thirdparty/git.git/commit - date.c
date: check for "local" before anything else
authorJohn Keeping <john@keeping.me.uk>
Thu, 3 Sep 2015 21:48:58 +0000 (22:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Sep 2015 22:42:18 +0000 (15:42 -0700)
commitdc6d782c5d2526b251061daffc3e74d15c8c7095
treef78c12164f074845f311a2650e142f5dd3eea7ed
parentf3c1ba502628cf0b6e8674f07c3850b21f365965
date: check for "local" before anything else

In a following commit we will make "local" orthogonal to the format.
Although this will not apply to "relative", which does not use the
timezone, it applies to all other formats so move the timezone
conversion to the start of the function.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
date.c