cvs: pear /PHP_Compat/Compat/Constant DATE.php
| From: | Aidan Lister | Date: | Sat, 18 Mar 2006 01:19:30 +0000 |
| Subject: | cvs: pear /PHP_Compat/Compat/Constant DATE.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39177@lists.php.net to get a copy of this message | ||
aidan Sat Mar 18 01:19:30 2006 UTC
Modified files:
/pear/PHP_Compat/Compat/Constant DATE.php
Log:
Revert patch, as only 5.1.3 has P defined. May possibly define a php_compat_date function to add
"P" functionality.
http://cvs.php.net/viewcvs.cgi/pear/PHP_Compat/Compat/Constant/DATE.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/PHP_Compat/Compat/Constant/DATE.php
diff -u pear/PHP_Compat/Compat/Constant/DATE.php:1.2 pear/PHP_Compat/Compat/Constant/DATE.php:1.3
--- pear/PHP_Compat/Compat/Constant/DATE.php:1.2 Fri Mar 17 15:00:27 2006
+++ pear/PHP_Compat/Compat/Constant/DATE.php Sat Mar 18 01:19:30 2006
@@ -15,7 +15,7 @@
// | Authors: Rhett Waldock <rwaldock@gmail.com> |
// +----------------------------------------------------------------------+
//
-// $Id: DATE.php,v 1.2 2006/03/17 15:00:27 aidan Exp $
+// $Id: DATE.php,v 1.3 2006/03/18 01:19:30 aidan Exp $
/**
@@ -25,11 +25,11 @@
* @package PHP_Compat
* @link http://php.net/manual/en/ref.datetime.php
* @author Rhett Waldock <rwaldock@gmail.com>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @since PHP 5.1.1
*/
if (!defined('DATE_ATOM')) {
- define('DATE_ATOM', 'Y-m-d\TH:i:sP');
+ define('DATE_ATOM', 'Y-m-d\TH:i:sO');
}
if (!defined('DATE_COOKIE')) {
@@ -65,7 +65,7 @@
}
if (!defined('DATE_W3C')) {
- define('DATE_W3C', 'Y-m-d\TH:i:sP');
+ define('DATE_W3C', 'Y-m-d\TH:i:sO');
}
?>
\ No newline at end of file