summaryrefslogtreecommitdiffstats
path: root/lib/l10n.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index 72ac9e353d8..18706e4b4a5 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -58,6 +58,7 @@ 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',
@@ -223,6 +224,7 @@ class OC_L10N{
return strftime($this->localizations[$type], $data);
break;
case 'firstday':
+ case 'jsdate':
return $this->localizations[$type];
default:
return false;