git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] date: make "iso-strict" conforming for the UTC timezone

From
OIOsipov, Michael (IN IT IN) <michael.osipov@innomotics.com>
Date
Mar 13, 2024, 19:29 UTC
Message-ID
<fa133642-e9b0-4443-b21c-c864c9e4f9b6@siemens.com>
In-Reply-To
<xmqqwmq6asrx.fsf@gitster.g>
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
Previous: Junio C HamanoNext: Beat Bolli
Message 4 of 10 in “log.date 'iso-strict' does not comply with ISO 8601-1:2020-12”
  1. Osipov, Michael (IN IT IN)Mar 13, 2024
  2. date: make "iso-strict" conforming for the UTC timezoneBeat Bolli, Mar 13, 2024
  3. Junio C HamanoMar 13, 2024
  4. Osipov, Michael (IN IT IN)Mar 13, 2024
  5. date: make "iso-strict" conforming for the UTC timezoneBeat Bolli, Mar 13, 2024
  6. Junio C HamanoMar 13, 2024
  7. date: make "iso-strict" conforming for the UTC timezoneBeat Bolli, Mar 13, 2024
  8. Junio C HamanoMar 13, 2024
  9. Osipov, Michael (IN IT IN)Mar 13, 2024
  10. Kristoffer HaugsbakkMar 13, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.