[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Antw: Re: bug#20199: Enhancement request for date's "-d" option: dif
From: |
Pádraig Brady |
Subject: |
Re: Antw: Re: bug#20199: Enhancement request for date's "-d" option: different epochs |
Date: |
Wed, 25 Mar 2015 14:00:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 25/03/15 13:44, Ulrich Windl wrote:
>>>> Pádraig Brady<address@hidden> schrieb am 25.03.2015 um 14:16 in
> Nachricht
> <address@hidden>:
>
> [...]
>> Actually we can use date's relative date support for this:
>>
>> $ date -d '1900-01-01 +1234567890 seconds'
>> Tue Feb 14 23:56:51 GMT 1939
>
> Yes, if date is new enough (coreutils-8.12). Otherwise (coreutils-5.93) you
> get:
> # date -d '1900-01-01 +1234567890 seconds'
> date: invalid date `1900-01-01 +1234567890 seconds'
Can you try without the + on that older version?
cheers,
Pádraig.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Antw: Re: bug#20199: Enhancement request for date's "-d" option: different epochs,
Pádraig Brady <=