#22468 [NEW]: Extension does not support dates earlier than Epoch
| From: | stuart at myrddraal dot demon dot co dot uk | Date: | Fri, 28 Feb 2003 00:54:52 +0000 |
| Subject: | #22468 [NEW]: Extension does not support dates earlier than Epoch | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-34487@lists.php.net to get a copy of this message | ||
From: stuart at myrddraal dot demon dot co dot uk
Operating system: Gentoo Linux
PHP version: 4.3.0
PHP Bug Type: XMLRPC-EPI related
Bug description: Extension does not support dates earlier than Epoch
The XML-RPC Extension does not correctly cope with dates before the Epoch
(ie, anything which won't go into time_t).
This bug prevents the XML-RPC Extension passing the XML-RPC verification
suite, which can be found at http://validator.xmlrpc.com/
The following example code demonstrates the fault.
<?php
$l_szDate = "19040401T19:01:02";
xmlrpc_set_type ($l_szDate, "datetime");
echo xmlrpc_encode_request(null, $l_szDate);
?>
--
Edit bug report at http://bugs.php.net/?id=22468&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22468&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22468&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22468&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22468&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22468&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22468&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22468&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22468&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22468&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22468&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22468&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22468&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22468&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22468&r=gnused