import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -14,9 +14,9 @@
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Date
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DateObject.php 2511 2006-12-26 22:54:37Z bkarwin $
|
||||
* @version $Id: Cities.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -28,7 +28,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Date
|
||||
* @subpackage Zend_Date_Cities
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Date_Cities
|
||||
|
@ -14,8 +14,8 @@
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Date
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: DateObject.php 14117 2009-02-19 21:29:17Z thomas $
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: DateObject.php 16561 2009-07-08 15:05:06Z thomas $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Date
|
||||
* @subpackage Zend_Date_DateObject
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Date_DateObject {
|
||||
@ -658,13 +658,13 @@ abstract class Zend_Date_DateObject {
|
||||
{
|
||||
|
||||
// actual timestamp
|
||||
if ($timestamp === null) {
|
||||
if (!is_numeric($timestamp)) {
|
||||
return getdate();
|
||||
}
|
||||
|
||||
// 32bit timestamp
|
||||
if (abs($timestamp) <= 0x7FFFFFFF) {
|
||||
return @getdate($timestamp);
|
||||
return @getdate((int) $timestamp);
|
||||
}
|
||||
|
||||
if (isset(self::$_cache)) {
|
||||
|
@ -14,8 +14,8 @@
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Date
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Exception.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Exception.php 16203 2009-06-21 18:56:17Z thomas $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -29,7 +29,7 @@ require_once 'Zend/Exception.php';
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Date
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Date_Exception extends Zend_Exception
|
||||
|
Reference in New Issue
Block a user