Re: [RFC PATCH 1/1] hideTimezone: add a user.hideTimezone config
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 1, 2020, 00:35 UTC
- Message-ID
- <xmqq362yeqbo.fsf@gitster.c.googlers.com>
- In-Reply-To
- <xmqq7dsaeqij.fsf@gitster.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 6 quoted lines
> test_config user.hideTimeZone true && > ( > export GIT_AUTHOR_DATE=@1600000000 TZ=UTC-09 && > git commit ... && > git show -s --format='%aI' >output && > echo 2020-09-13T15:26:40+03:00 >expect &&
Oops. The sample date and zone must be adjusted for the values exported above. I expect that we'd need to do
... echo 2020-09-13T12:26:40+00:00 >expect && test_cmp expect output