[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: date -d and the leapsecond
From: |
Dr. David Alan Gilbert |
Subject: |
Re: date -d and the leapsecond |
Date: |
Tue, 3 Jan 2006 17:12:04 +0000 |
User-agent: |
Mutt/1.4.1i |
* Paul Eggert (address@hidden) wrote:
> "Dr. David Alan Gilbert" <address@hidden> writes:
>
> > Now as I understand it the Unix time can't represent the
> > leapsecond in the seconds-since-epoch, but if that is a valid
> > UTC date then should it really accept it as input ?
>
> Yes, on hosts that support leap seconds. On hosts that don't
> one could argue either way, but at least the behavior should
> be documented.
Are you sure that whatever change made date stop taking
the 60 only stopped it on hosts that don't support leap second?
> The other point you mentioned I think has already been addressed
> in CVS coreutils.
>
> Thanks for mentioning the problems. I installed this patch.
Thanks.
Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/