summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r--lib/private/l10n.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php
index 59f26423afa..b070a299a16 100644
--- a/lib/private/l10n.php
+++ b/lib/private/l10n.php
@@ -391,13 +391,10 @@ class OC_L10N implements \OCP\IL10N {
switch($type) {
case 'date':
return Punic\Calendar::formatDate($value, $width, $locale);
- break;
case 'datetime':
return Punic\Calendar::formatDatetime($value, $width, $locale);
- break;
case 'time':
return Punic\Calendar::formatTime($value, $width, $locale);
- break;
default:
return false;
}