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 /core/js | |
parent | 8a03abec0d8a44d24cc8ad63acb8faf6932a1b5e (diff) | |
download | nextcloud-server-a24d8db4b25e99f92ebb2cb65a97672f39a2f85f.tar.gz nextcloud-server-a24d8db4b25e99f92ebb2cb65a97672f39a2f85f.zip |
translate datepicker
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/share.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js index de50e53a441..1bc8f555680 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -343,6 +343,14 @@ OC.Share={ } $(document).ready(function() { + $.datepicker.setDefaults({ + monthNames: monthNames, + monthNamesShort: $.map(monthNames, function(v) { return v.slice(0,3)+'.'; }), + dayNames: dayNames, + dayNamesMin: $.map(dayNames, function(v) { return v.slice(0,2); }), + dayNamesShort: $.map(dayNames, function(v) { return v.slice(0,3)+'.'; }), + firstDay: firstDay + }); $('a.share').live('click', function(event) { event.stopPropagation(); |