- Timestamp:
- 2011/10/25 00:02:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/module/SOAP/Type/dateTime.php
r20119 r21299 1 1 <?php 2 2 /** 3 * This file contains the code for the SOAP date/time clas.3 * This file contains the code for the SOAP_Type_dateTime class. 4 4 * 5 5 * PHP versions 4 and 5 … … 17 17 * @author Shane Caraveo <Shane@Caraveo.com> Port to PEAR and more 18 18 * @author Jan Schneider <jan@horde.org> Maintenance 19 * @copyright 2003-200 5The PHP Group19 * @copyright 2003-2007 The PHP Group 20 20 * @license http://www.php.net/license/2_02.txt PHP License 2.02 21 21 * @link http://pear.php.net/package/SOAP … … 31 31 * @author Jan Schneider <jan@horde.org> Maintenance 32 32 */ 33 class SOAP_Type_dateTime 33 class SOAP_Type_dateTime 34 34 { 35 35 var $_iso8601 = … … 97 97 //simulate PHP5's P parameter 98 98 $zone = date('O', $timestamp); 99 if (strlen($zone) == 5) {99 if (strlen($zone) === 5) { 100 100 $zone = substr($zone, 0, 3) . ':' . substr($zone, 3); 101 101 }
Note: See TracChangeset
for help on using the changeset viewer.