Re: pear::date and soap::types::dateTime
| From: | Baba Buehler | Date: | Wed, 14 Aug 2002 06:46:09 +0000 |
| Subject: | Re: pear::date and soap::types::dateTime | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8413@lists.php.net to get a copy of this message | ||
Shane Caraveo wrote:
Hey, at some time I'd like to get the dateTime class from the SOAP library integrated over to the date stuff. I looked at the ISO support in Date, and it's not sufficient to handle ISO-8601 format defined for use in XML Schema (http://www.w3.org/TR/xmlschema-2/#isoformats).I've added some options to the format() method of Date in CVS that should allow you to better construct ISO 8601 strings: %o - gives the raw timezone offset in +/-hh:mm %O - gives the dst-corrected offset in +/-hh:mm Will this be sufficent, or would it be better to be able to retrieve the +/- seperate from the hh:mm offset? Could those working with SOAP and/or ISO8601 dates try the CVS Date.php and let me know how this works? I'll look into adding ISO8601 format as a "native" format for the constructor and get/setDate methods. baba -- Baba Z Buehler <baba@BabaZ.com> http://BabaZ.com/ PGP KeyID: 0xA88A6D4C "Those who are willing to sacrifice freedom for security deserve neither." -Benjamin Franklin