summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class3
1 files changed, 3 insertions, 0 deletions
diff --git a/it.class b/it.class
index 69626bb..744a4cb 100644
--- a/it.class
+++ b/it.class
@@ -718,6 +718,9 @@ static function gets()
*/
static function date($format = "", $stamp = null)
{
+ if (is_float($stamp)) # Temporary logging of float timestamps
+ @it::log('it_date_float', $stamp, it_debug::backtrace());
+
if (!isset($stamp))
$stamp = time();
else if (!is_int($stamp) && !ctype_digit($stamp) && (!is_float($stamp) || strstr($stamp, '.')))