From: Maurizio Codogno (mau@beatles.cselt.it)
Date: Mon Jun 12 2000 - 12:16:13 CDT
Charles Lindsey <chl@clw.cs.man.ac.uk> writes:
> There was no response to that, so I am posting it again. Here are two
> alternatives, which encompass what we discussed. Please can I have some
> opinions?
I prefer solution 1:
> > 2. Any date-time occurring in a Date, Resent-Date or Expires header
> > (but not in any other header) is converted into the number of
> > seconds since the start of January 1st 1970 UTC, ignoring any leap
> > seconds and expressed as a decimal number without leading zeroes.
>
> > NOTE: POSIX-compliant systems can implement this simply by using
> > the POSIX 'mktime' routine with the TZ environment variable set
> > to 'GMT'. Observe that the effect is to treat "31 Dec 2000
> > 23:59:60 +0000" (which is a legitimate date-time as defined by
> > [MESSFOR]) as being identical to "1 Jan 2001 00:00:00 +0000".
Maybe we can specify, instead of "any leap seconds", "any
leap second *within the interval*" (that is, 31 Dec 2000 23:59:60 +0000
is a "valid" leap second, since the leap second is at an extreme of
the interval: a "fake" leap second, like in 31 Dec 2000 11:00:60 +0000
poses no problem too). But I cannot find a proper way to say it in
English.
> >[Can someone give me a reference to the proper POSIX document?]
THe only reference I found is in rfc2828:
[FP151] ---, "Portable Operating System Interface (POSIX)--System
Application Program Interface [C Language]", FIPS PUB 151-2,
12 May 1993
but I don't think it deals with dates.
ciao, .mau.