diff options
author | sgiehl <stefan@piwik.org> | 2015-07-06 00:32:43 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-09-25 21:07:48 +0300 |
commit | f60ad71df1765498f0c21789d5c55ab7218192e1 (patch) | |
tree | 1d51f1cb741974822e22ab01763e6ec9851c26e1 /core/Period | |
parent | 175b5bd50dbb8da7fb718f09a69d6dca986b20cb (diff) |
fixed tests
Diffstat (limited to 'core/Period')
-rw-r--r-- | core/Period/Range.php | 4 | ||||
-rw-r--r-- | core/Period/Week.php | 4 |
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; } |