summaryrefslogtreecommitdiff
path: root/framework/Util/TDateTimeStamp.php
diff options
context:
space:
mode:
authorknut <>2008-08-06 01:34:06 +0000
committerknut <>2008-08-06 01:34:06 +0000
commitf7f3d150ef35c026bf6aee72e78362e263419e1a (patch)
tree6e060c20928f46a801e2087459a10958bf529685 /framework/Util/TDateTimeStamp.php
parent637d5678be83c5fae1b21848d53e4d90bd5c0b0d (diff)
fixed #898
Diffstat (limited to 'framework/Util/TDateTimeStamp.php')
-rw-r--r--framework/Util/TDateTimeStamp.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php
index c2fb1327..07466462 100644
--- a/framework/Util/TDateTimeStamp.php
+++ b/framework/Util/TDateTimeStamp.php
@@ -9,7 +9,7 @@
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Util
@@ -619,9 +619,9 @@ class TDateTimeStamp
$min = intval($min);
$sec = intval($sec);
*/
- $mon = intval($mon);
- $day = intval($day);
- $year = intval($year);
+ $mon = (int)$mon;
+ $day = (int)$day;
+ $year = (int)$year;
$year = $this->digitCheck($year);
@@ -700,4 +700,4 @@ class TDateTimeStamp
}
}
-?>
+?>