Re: [PATCH] date: make "iso-strict" conforming for the UTC timezone
On 2024-03-13 19:30, Junio C Hamano wrote:
Show 9 quoted lines
> "Beat Bolli" <bb@drbeat.li> writes:
>
>> 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.
>
> Hmph, would this break existing scripts that expects the current
> behaviour, and if it does, is it safe for us to blame the script
> authors for not following the standard?
From my PoV, if they don't stick it is not you to blame. The standard
also says that it is equiv ("Z") to both numeral offsets. At the end
strict is strict.Thanks,
Michael