diff options
author | ctrlaltca <> | 2013-01-06 23:17:29 +0000 |
---|---|---|
committer | ctrlaltca <> | 2013-01-06 23:17:29 +0000 |
commit | 4af5784e5c51536e074ea51eacea7e6c79efee15 (patch) | |
tree | 3287ab749f097bbc3187bd663487a3ecbd7cd35e /framework/Util/TDateTimeStamp.php | |
parent | ea00eb2ea27613491eb517be9659059696fb335b (diff) |
backported r3241 to trunk/
Diffstat (limited to 'framework/Util/TDateTimeStamp.php')
-rw-r--r-- | framework/Util/TDateTimeStamp.php | 2 |
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'); } } |