aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-22 23:53:24 -0700
committerLukas Reschke <lukas@statuscode.ch>2012-10-22 23:53:24 -0700
commitb66dd3ebef605e0cd681c5621706e880c7d38571 (patch)
tree96833b868494b5de4d9a15676cb2ba9c80fd3ab7 /lib
parentbc2a648f2d18537a8e9d20bbf9eb468325a84c7f (diff)
parent41b597e179a694973c709613cdf41e2b379c8df9 (diff)
downloadnextcloud-server-b66dd3ebef605e0cd681c5621706e880c7d38571.tar.gz
nextcloud-server-b66dd3ebef605e0cd681c5621706e880c7d38571.zip
Merge pull request #38 from scambra/datepicker-l10n
Translate Datepicker
Diffstat (limited to 'lib')
-rw-r--r--lib/l10n.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index ac57115da4e..6667747b885 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -58,9 +58,11 @@ class OC_L10N{
* Localization
*/
private $localizations = array(
+ 'jsdate' => 'dd.mm.yy',
'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
@@ -223,6 +225,9 @@ class OC_L10N{
setlocale(LC_TIME, $locales);
return strftime($this->localizations[$type], $data);
break;
+ case 'firstday':
+ case 'jsdate':
+ return $this->localizations[$type];
default:
return false;
}