Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2023 16:50:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257075] touch(1) does not accept input from date(1) with -I to -d
Message-ID:  <bug-257075-227-uoBNRn73Qd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257075-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257075-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257075

--- Comment #5 from Michael Osipov <michael.osipov@siemens.com> ---
(In reply to Daniel Tameling from comment #4)

This input is invalid:
> ./touch -d 2021-07-09T10:17:08+0200  test2

I would not support it. ISO 8601 provides you two ways: basic and extended
formats. You must pick one and stick with one. You are *not* allowed to mat=
ch.

Four years ago I have written to cem@ about the incorrect implementation of
'date -I':
https://github.com/freebsd/freebsd/commit/627fbf85f712cc71087e9476036f230b5=
9b31783#diff-a58c8d455292fcb202f71a7682d0ea08R267
well, he did reject my request.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257075-227-uoBNRn73Qd>