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:
authorsgiehl <stefan@piwik.org>2015-07-06 00:32:43 +0300
committersgiehl <stefan@piwik.org>2015-09-25 21:07:48 +0300
commitf60ad71df1765498f0c21789d5c55ab7218192e1 (patch)
tree1d51f1cb741974822e22ab01763e6ec9851c26e1 /core/Period
parent175b5bd50dbb8da7fb718f09a69d6dca986b20cb (diff)
fixed tests
Diffstat (limited to 'core/Period')
-rw-r--r--core/Period/Range.php4
-rw-r--r--core/Period/Week.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/Period/Range.php b/core/Period/Range.php
index 706428162e..e2b654ca21 100644
--- a/core/Period/Range.php
+++ b/core/Period/Range.php
@@ -107,7 +107,7 @@ class Range extends Period
*/
public function getLocalizedShortString()
{
- return $this->getTranslatedRange($this->getRangeFormat(true), $this->getDateStart(), $this->getDateEnd());
+ return $this->getTranslatedRange($this->getRangeFormat(true));
}
/**
@@ -117,7 +117,7 @@ class Range extends Period
*/
public function getLocalizedLongString()
{
- return $this->getTranslatedRange($this->getRangeFormat(), $this->getDateStart(), $this->getDateEnd());
+ return $this->getTranslatedRange($this->getRangeFormat());
}
/**
diff --git a/core/Period/Week.php b/core/Period/Week.php
index 2e6219a049..ff2a23a844 100644
--- a/core/Period/Week.php
+++ b/core/Period/Week.php
@@ -24,7 +24,7 @@ class Week extends Period
*/
public function getLocalizedShortString()
{
- return $this->getTranslatedRange($this->getRangeFormat(true), $this->getDateStart(), $this->getDateEnd());
+ return $this->getTranslatedRange($this->getRangeFormat(true));
}
/**
@@ -34,7 +34,7 @@ class Week extends Period
*/
public function getLocalizedLongString()
{
- $string = $this->getTranslatedRange($this->getRangeFormat(), $this->getDateStart(), $this->getDateEnd());
+ $string = $this->getTranslatedRange($this->getRangeFormat());
return $this->translator->translate('Intl_PeriodWeek') . " " . $string;
}