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
path: root/core/Intl
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2017-07-17 00:49:20 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-07-17 00:49:20 +0300
commitb0546878bd83d5ca36d43a8db8ac903d8548dec1 (patch)
tree6426400bbe899b0add2214bb5e5ae7761a0b3bd5 /core/Intl
parentb9c953e43758815f016e11b96c9e7f6a303a8691 (diff)
Use localized format to display hour in Visits per time reports (#11747)
* Use localized format to display hour in Visits per time reports * updates cldr data * update test files
Diffstat (limited to 'core/Intl')
-rw-r--r--core/Intl/Data/Provider/DateTimeFormatProvider.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/Intl/Data/Provider/DateTimeFormatProvider.php b/core/Intl/Data/Provider/DateTimeFormatProvider.php
index 90ffad609f..daf22b0b8c 100644
--- a/core/Intl/Data/Provider/DateTimeFormatProvider.php
+++ b/core/Intl/Data/Provider/DateTimeFormatProvider.php
@@ -65,6 +65,16 @@ class DateTimeFormatProvider
}
/**
+ * Returns if time is present as 12 hour clock (eg am/pm)
+ *
+ * @return bool
+ */
+ public function uses12HourClock()
+ {
+ return false;
+ }
+
+ /**
* Returns interval format pattern for the given format type
*
* @param bool $short whether to return short or long format pattern