diff options
author | scambra <sergio@entrecables.com> | 2012-09-21 08:11:11 +0200 |
---|---|---|
committer | scambra <sergio@entrecables.com> | 2012-10-19 13:56:19 +0200 |
commit | a24d8db4b25e99f92ebb2cb65a97672f39a2f85f (patch) | |
tree | 36592e6017512655d099fc2005614e12090e9674 /lib/l10n.php | |
parent | 8a03abec0d8a44d24cc8ad63acb8faf6932a1b5e (diff) | |
download | nextcloud-server-a24d8db4b25e99f92ebb2cb65a97672f39a2f85f.tar.gz nextcloud-server-a24d8db4b25e99f92ebb2cb65a97672f39a2f85f.zip |
translate datepicker
Diffstat (limited to 'lib/l10n.php')
-rw-r--r-- | lib/l10n.php | 5 |
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; } |