Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-02-17 05:41:31 +0300
committermattpiwik <matthieu.aubry@gmail.com>2011-02-17 05:41:31 +0300
commitb4b1199616d2a628bd4a1a80e47ffc33c45ccee5 (patch)
treeb0a239add303d96bfade04da856b0be37ac8e086 /core/Date.php
parent83ab4a0eee77318cfe9a83e0f81a5607a683c817 (diff)
Fixing typo in date->setDay - thanks monnerat for patch Refs #2076
git-svn-id: http://dev.piwik.org/svn/trunk@3920 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Date.php')
-rw-r--r--core/Date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Date.php b/core/Date.php
index cf09932b2b..46a3fa5e2a 100644
--- a/core/Date.php
+++ b/core/Date.php
@@ -388,7 +388,7 @@ class Piwik_Date
date('i', $ts),
date('s', $ts),
date('n', $ts),
- 1,
+ $day,
date('Y', $ts)
);
return new Piwik_Date( $result, $this->timezone );