diff options
author | Christian Schmidt <github@chsc.dk> | 2019-03-02 19:23:28 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@matomo.org> | 2019-03-02 19:23:28 +0300 |
commit | 17f95c216e966f0f4120cec6c2d7a2d37d81e031 (patch) | |
tree | cf1c669ac1e34274734f9cbed7db1519f71f69d7 /core/Period.php | |
parent | 0e3c30ba31790bbe2318b46a4e6fc7114b3c4e50 (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.php | 2 |
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; } |