diff options
author | Felix Nagel <info@felixnagel.com> | 2014-04-26 14:31:28 +0200 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-01-29 17:48:25 -0500 |
commit | 9c66d2e92fd254c9e16964e26e3e8bf6a0a77483 (patch) | |
tree | 11cfbf10595b1045c32623c4cc9c380b9e5d2ee9 /external | |
parent | f28b70eb7a121bba06bb4043d97d4ee2d7d48fb6 (diff) | |
download | jquery-ui-9c66d2e92fd254c9e16964e26e3e8bf6a0a77483.tar.gz jquery-ui-9c66d2e92fd254c9e16964e26e3e8bf6a0a77483.zip |
Datepicker: Use `short` instead of `abbreviated` format for table header
Revert to old behavior with two instead of three chars.
Fixes layout issue with wrong day table cell width.
Diffstat (limited to 'external')
-rw-r--r-- | external/date.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/date.js b/external/date.js index e7c17a58d..06a675532 100644 --- a/external/date.js +++ b/external/date.js @@ -125,7 +125,7 @@ $.date.prototype = { for ( var dow = 0; dow < 7; dow++ ) { var day = ( dow + weekdaysRev[ Globalize.locale().supplemental.weekData.firstDay() ] ) % 7; result.push({ - shortname: Globalize.locale().main([ "dates/calendars/gregorian/days/format/abbreviated", weekdays[ day ] ]), + shortname: Globalize.locale().main([ "dates/calendars/gregorian/days/format/short", weekdays[ day ] ]), fullname: Globalize.locale().main([ "dates/calendars/gregorian/days/format/wide", weekdays[ day ] ]) }); } |