diff options
author | Hasso Tepper <hasso@zone.ee> | 2015-08-21 10:17:36 +0300 |
---|---|---|
committer | Hasso Tepper <hasso@zone.ee> | 2015-08-21 10:17:36 +0300 |
commit | acc5a7d6cc14f43051e327b5964f5c17b3c26412 (patch) | |
tree | 9ce620ec477a8c31612706a06b7e6c01e07cf5f6 /core/js/share.js | |
parent | 5f5c3520c9c48c4d0f5fbe2aa05f5d952b3607f6 (diff) | |
download | nextcloud-server-acc5a7d6cc14f43051e327b5964f5c17b3c26412.tar.gz nextcloud-server-acc5a7d6cc14f43051e327b5964f5c17b3c26412.zip |
Make short versions of weekday/month names translatable
Diffstat (limited to 'core/js/share.js')
-rw-r--r-- | core/js/share.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/share.js b/core/js/share.js index 57dd0dd6553..bf9250b3c3a 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -905,10 +905,10 @@ $(document).ready(function() { minDate.setDate(minDate.getDate()+1); $.datepicker.setDefaults({ monthNames: monthNames, - monthNamesShort: $.map(monthNames, function(v) { return v.slice(0,3)+'.'; }), + monthNamesShort: monthNamesShort, dayNames: dayNames, - dayNamesMin: $.map(dayNames, function(v) { return v.slice(0,2); }), - dayNamesShort: $.map(dayNames, function(v) { return v.slice(0,3)+'.'; }), + dayNamesMin: dayNamesMin, + dayNamesShort: dayNamesShort, firstDay: firstDay, minDate : minDate }); |