Merge branch 'rs/strbuf-addftime-zZ'
commit9eafe86d58a2d2b30e8b33f6697519fc7f104443
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Jun 2017 21:15:25 +0000 (22 14:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Jun 2017 21:15:25 +0000 (22 14:15 -0700)
tree511646eac969baa9feef1b949696a5b6a66e94d8
parent1565b18791b4b27ab464764d37b86a673165ab07
parent6eced3ec5e5d7fbe61de2791e2627b1acf1246b3
Merge branch 'rs/strbuf-addftime-zZ'

As there is no portable way to pass timezone information to
strftime, some output format from "git log" and friends are
impossible to produce.  Teach our own strbuf_addftime to replace %z
and %Z with caller-supplied values to help working around this.

* rs/strbuf-addftime-zZ:
  date: use localtime() for "-local" time formats
  t0006: check --date=format zone offsets
  strbuf: let strbuf_addftime handle %z and %Z itself
Documentation/rev-list-options.txt
date.c
t/t0006-date.sh