summaryrefslogtreecommitdiff
path: root/framework/Util/TDateTimeStamp.php
diff options
context:
space:
mode:
authorctrlaltca <>2013-01-06 23:16:23 +0000
committerctrlaltca <>2013-01-06 23:16:23 +0000
commit57311df5b3b0ae9db1fffb7cacfad57f65abd7fe (patch)
tree31f081f407b3aac5be97e0089e19b4beb6264726 /framework/Util/TDateTimeStamp.php
parent11d9e3f39458c4870ca722ba1d3db0d5bba754dc (diff)
fix date validators
Diffstat (limited to 'framework/Util/TDateTimeStamp.php')
-rw-r--r--framework/Util/TDateTimeStamp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php
index f5f76004..90ca73b4 100644
--- a/framework/Util/TDateTimeStamp.php
+++ b/framework/Util/TDateTimeStamp.php
@@ -197,7 +197,7 @@ class TDateTimeStamp
$mon!==false ? $mon : date('m'),
$day!==false ? $day : date('d'));
$dt->setTime($hr, $min, $sec);
- return $dt->format('U');
+ return (int) $dt->format('U');
}
}