From: Junio C Hamano Date: Mon, 29 May 2017 00:53:06 GMT Subject: Re: git-2.13.0: log --date=format:%z not working Message-ID: In-Reply-To: Ævar Arnfjörð Bjarmason writes: >> >> Here are some links to past explorations: >> >> http://public-inbox.org/git/20160208152858.GA17226@sigill.intra.peff.net/ >> >> http://public-inbox.org/git/87vb2d37ea.fsf@web.de/ > > There's a third and possibly least shitty option that isn't covered in > those threads; We could just make a pass over the strftime format > ourselves and replace %z and %Z with the timezone (as done for > DATE_ISO8601_STRICT in date.c), then hand the rest off to strftime(). I do not know about %Z but certainly for %z that sounds the least bad. In a nearby message René seems to have come up with the same idea, too ;-)