Re: Seeking clarifaction of tai64nlocal and leap seconds

Brian Reichert <[email protected]> Fri, 1 Apr 2011 15:19:05 -0400
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
On Fri, Apr 01, 2011 at 03:10:26PM -0400, Paul Jarc wrote:
> [Moving to the libtai list, where this is more on topic.]

Geez, I shoulda guessed that.  Ah, well...

> Brian Reichert <[email protected]> wrote:
> > This sentence to me implies:
> >
> > If you have both right/US/Pacific and US/Pacific timezones, then 
> >
> > - right/US/Pacific has the leap seconds included
> >
> > - and hence should be twentyish seconds 'ahead' of US/Pacific.
> 
> It's actually that right/US/Pacific assumes that *values returned by
> time()* include leap seconds, and US/Pacific assumes that those values
> don't include leap seconds.  So if you interpret the same time() value
> using each of those timezones, the right/ one will report an *earlier*
> time.

Ok, that does explain what I was seeing.  Thaks for clearing up my
confusion.

> paul

-- 
Brian Reichert				<[email protected]>
BSD admin/developer at large