Subject: bug#32288: closed (Re: bug#32288: date(1) Produces ISO 8601 it Won't Take Back.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 30 Jul 2018 02:01:02 +0000

Your bug report

#32288: date(1) Produces ISO 8601 it Won't Take Back.

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32288: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32288
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#32288: date(1) Produces ISO 8601 it Won't Take Back.
From: Paul Eggert <[email-masked]>
To: Ralph Corderoy <[email-masked]>, [email-masked]
Date: Sun, 29 Jul 2018 19:00:01 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 07/27/2018 04:34 AM, Ralph Corderoy wrote:
>     $ date -uIs -d @-62135596801
>     0000-12-31T23:59:59+00:00                           
>     $ date -uIs -d @0000-12-31T23:59:59+00:00
>     date: invalid date ‘@0000-12-31T23:59:59+00:00’     
>     $
>
> If date thinks it's valid ISO 8601 when it outputs it,
> I'd expect it to be considered valid input to take back.

As it would have, if you had actually given back exactly what you gave
it. But you prepended '@'.

Subject: date(1) Produces ISO 8601 it Won't Take Back.
From: Ralph Corderoy <[email-masked]>
To: [email-masked]
Date: Fri, 27 Jul 2018 12:34:11 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

coreutils 8.29-1 on Arch Linux.

    $ date -uIs -d @-62135596801
    0000-12-31T23:59:59+00:00                           
    $ date -uIs -d @0000-12-31T23:59:59+00:00
    date: invalid date ‘@0000-12-31T23:59:59+00:00’     
    $

If date thinks it's valid ISO 8601 when it outputs it,
I'd expect it to be considered valid input to take back.

Cheers, Ralph.