Skip to content

Commit 1fe3c8e

Browse files
committed
[#145 fork] (pt-BR) Weekdays Format
1 parent 68fe093 commit 1fe3c8e

File tree

2 files changed

+54
-54
lines changed

2 files changed

+54
-54
lines changed

app/js/materialDateTimePicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@
769769
_template += '<div class="dtp-picker-month">' + date.locale(this.params.lang).format('MMMM YYYY') + '</div>';
770770
_template += '<table class="table dtp-picker-days"><thead>';
771771
for (var i = 0; i < calendar.week.length; i++) {
772-
_template += '<th>' + moment(parseInt(calendar.week[i]), "d").locale(this.params.lang).format("dd").substring(0, 1) + '</th>';
772+
_template += '<th>' + moment(parseInt(calendar.week[i]), "d").locale(this.params.lang).format("ddd").substring(0, 1) + '</th>';
773773
}
774774

775775
_template += '</thead>';

0 commit comments

Comments
 (0)