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:
authorChristian Schmidt <github@chsc.dk>2019-03-02 19:23:28 +0300
committerStefan Giehl <stefan@matomo.org>2019-03-02 19:23:28 +0300
commit17f95c216e966f0f4120cec6c2d7a2d37d81e031 (patch)
treecf1c669ac1e34274734f9cbed7db1519f71f69d7 /core/Period.php
parent0e3c30ba31790bbe2318b46a4e6fc7114b3c4e50 (diff)
Preserve case for CLDR month/day names (#14015)
Do ucfirst() on formatted date instead.
Diffstat (limited to 'core/Period.php')
-rw-r--r--core/Period.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Period.php b/core/Period.php
index c9b0c04900..de40ffae65 100644
--- a/core/Period.php
+++ b/core/Period.php
@@ -366,7 +366,7 @@ abstract class Period
list($formatStart, $formatEnd) = $this->explodeFormat($format);
$string = $dateStart->getLocalized($formatStart);
- $string .= $dateEnd->getLocalized($formatEnd);
+ $string .= $dateEnd->getLocalized($formatEnd, false);
return $string;
}