2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

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

This commit is contained in:
Gerhard Schlager 2019-08-05 14:21:59 +02:00
parent 2c08d43539
commit a68d8de72f

View file

@ -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");