Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscambra <sergio@entrecables.com>2012-09-21 10:11:11 +0400
committerscambra <sergio@entrecables.com>2012-10-19 15:56:19 +0400
commita24d8db4b25e99f92ebb2cb65a97672f39a2f85f (patch)
tree36592e6017512655d099fc2005614e12090e9674 /lib/l10n.php
parent8a03abec0d8a44d24cc8ad63acb8faf6932a1b5e (diff)
translate datepicker
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index 26611537175..72ac9e353d8 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -60,7 +60,8 @@ class OC_L10N{
private $localizations = array(
'date' => '%d.%m.%Y',
'datetime' => '%d.%m.%Y %H:%M:%S',
- 'time' => '%H:%M:%S');
+ 'time' => '%H:%M:%S',
+ 'firstday' => 0);
/**
* get an L10N instance
@@ -221,6 +222,8 @@ class OC_L10N{
setlocale(LC_TIME, $locales);
return strftime($this->localizations[$type], $data);
break;
+ case 'firstday':
+ return $this->localizations[$type];
default:
return false;
}