aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--external/date.js2
-rw-r--r--tests/unit/date/date_core.js14
2 files changed, 8 insertions, 8 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 ] ])
});
}
diff --git a/tests/unit/date/date_core.js b/tests/unit/date/date_core.js
index db94cb67d..65665431c 100644
--- a/tests/unit/date/date_core.js
+++ b/tests/unit/date/date_core.js
@@ -64,13 +64,13 @@ test( "Date Adjustments - Leap Year Edge Cases", 1, function() {
test( "List days of Week", 2, function() {
var date = $.date(),
offset0 = [
- { "fullname": "Sunday", "shortname": "Sun" },
- { "fullname": "Monday", "shortname": "Mon" },
- { "fullname": "Tuesday", "shortname": "Tue" },
- { "fullname": "Wednesday", "shortname": "Wed" },
- { "fullname": "Thursday", "shortname": "Thu" },
- { "fullname": "Friday", "shortname": "Fri" },
- { "fullname": "Saturday", "shortname": "Sat" }
+ { "fullname": "Sunday", "shortname": "Su" },
+ { "fullname": "Monday", "shortname": "Mo" },
+ { "fullname": "Tuesday", "shortname": "Tu" },
+ { "fullname": "Wednesday", "shortname": "We" },
+ { "fullname": "Thursday", "shortname": "Th" },
+ { "fullname": "Friday", "shortname": "Fr" },
+ { "fullname": "Saturday", "shortname": "Sa" }
],
offset1 = [
{ "fullname": "Montag", "shortname": "Mo." },