mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: datepicker will now default to monday as first day
This will be regardless of the user locale. Many users use english forums even if not from the US and would end up having sunday as the first day of the week in the calendar. This commit follows the international standard.
This commit is contained in:
parent
77b329f4ed
commit
1ed4f0ee8a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export default Ember.Component.extend({
|
|||
container: container || this.$()[0],
|
||||
bound: container === undefined,
|
||||
format: "YYYY-MM-DD",
|
||||
firstDay: moment.localeData().firstDayOfWeek(),
|
||||
firstDay: 1,
|
||||
i18n: {
|
||||
previousMonth: I18n.t("dates.previous_month"),
|
||||
nextMonth: I18n.t("dates.next_month"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue