Skip to content

A platform for community discussion. Free, open, simple.

UX:UX: Use shorter weekday labels in local-dates plugin

Gerhard Schlagera68d8de72f96
diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6 b/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6
index 8128bdfc805..d6bce1654b4 100644
--- a/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6
+++ b/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6
@@ -384,7 +384,7 @@ export default Ember.Component.extend({
nextMonth: I18n.t("dates.next_month"),
months: moment.months(),
weekdays: moment.weekdays(),
- weekdaysShort: moment.weekdaysShort()
+ weekdaysShort: moment.weekdaysMin()
},
onSelect: date => {
const formattedDate = moment(date).format("YYYY-MM-DD");