From 6421fc13a1aa8b4e6ecbbd346364cddb37ef4e67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 6 Oct 2008 16:28:03 +0000 Subject: [PATCH] Fix for 1 second --- inc/databases.php | 2 +- inc/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index a7caf54545..181a662aab 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "460"); +define('CURR_SVN_REVISION', "461"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/functions.php b/inc/functions.php index e792e79ddf..b9369d3ebc 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1291,7 +1291,7 @@ function CREATE_TIME_SELECTIONS($timestamp, $prefix="", $display="", $align="cen global $_CONFIG; // Calculate 2-seconds timestamp - $stamp = round($timestamp / 2) * 2; + $stamp = round($timestamp); // Do we have a leap year? $SWITCH = 0; -- 2.39.5