diff options
author | Beat Bolli <bb@drbeat.li> | 2024-03-13 23:54:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-13 16:06:52 -0700 |
commit | 69e2bee1a3ba2f9367d55992f401e6365be100ea (patch) | |
tree | 098c2899936b45d476ce04cd5cbf568dda388d9b /commit.c | |
parent | 945115026aa63df4ab849ab14a04da31623abece (diff) |
date: make "iso-strict" conforming for the UTC timezone
ISO 8601-1:2020-12 specifies that a zero timezone offset must be denoted
with a "Z" suffix instead of the numeric "+00:00". Add the correponding
special case to show_date() and a new test.
Changing an established output format which might be depended on by
scripts is always problematic, but here we choose to adhere more closely
to the published standard.
Reported-by: Michael Osipov <michael.osipov@innomotics.com>
Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions