Re: Date/Time problem in ./ext/standard/datetime.c
| From: | Kristian Köhntopp | Date: | Fri, 25 Feb 2000 14:47:29 +0000 |
| Subject: | Re: Date/Time problem in ./ext/standard/datetime.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10947@lists.php.net to get a copy of this message | ||
Bob Denny wrote:
> Kristian Kvhntopp wrote:
> > It makes PHP4 use four digit year numbers in ./ext/standard/datetime.c
> > as per
> > snprintf(str, 80, "%s, %02d-%s-%04d %02d:%02d:%02d GMT",
> > compared to
> > snprintf(str, 80, "%s, %02d-%s-%02d %02d:%02d:%02d GMT",
> >
> > This date is used in http headers such as cookie headers generated
> > by PHP. Apache is using four digit year numbers everywhere anyway,
> > for example Date and Last-Modified.
>
> The proposed format is not correct.
This is what is currently in the CVS and always has been. Don't know
about any compatibility issues.
Kristian
--
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.netuse.de/ (We have moved! Update your
bookmarks!)