diff options
author | scambra <sergio@entrecables.com> | 2012-09-21 08:33:26 +0200 |
---|---|---|
committer | scambra <sergio@entrecables.com> | 2012-10-19 13:56:19 +0200 |
commit | 41b597e179a694973c709613cdf41e2b379c8df9 (patch) | |
tree | 8a7b56ff789036722bf154d15cf9a68e5528aa2c /lib/l10n.php | |
parent | a24d8db4b25e99f92ebb2cb65a97672f39a2f85f (diff) | |
download | nextcloud-server-41b597e179a694973c709613cdf41e2b379c8df9.tar.gz nextcloud-server-41b597e179a694973c709613cdf41e2b379c8df9.zip |
Translate formatDate using jquery datepicker
Diffstat (limited to 'lib/l10n.php')
-rw-r--r-- | lib/l10n.php | 2 |
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; |