diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-25 20:14:46 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-25 20:14:46 +0400 |
commit | 2ac68498d4553d181d5be5b5906060cfafba33b4 (patch) | |
tree | 3fd673486d3495186d1410b9d6074a9455379283 /core/Date.php | |
parent | e4acc5926011f0c91805bca4a2e47c3b1050c134 (diff) |
Fixing tests cli maybe?
git-svn-id: http://dev.piwik.org/svn/trunk@2673 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Date.php')
-rw-r--r-- | core/Date.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Date.php b/core/Date.php index 507cf1d3b9..71a088c4c1 100644 --- a/core/Date.php +++ b/core/Date.php @@ -498,7 +498,7 @@ class Piwik_Date $minutes = 0; if($n != round($n)) { - $minutes = (abs($n) - floor(abs($n))) * 60; + $minutes = abs($n - floor(abs($n))) * 60; $n = floor(abs($n)); if($isNegative) { $minutes *= -1; |