fix: no mostraba los numeros de la semana al inicio
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-02-07 15:01:33 +01:00
parent 7af9aa46e9
commit cda7a6e3fd
1 changed files with 2 additions and 1 deletions

View File

@ -15,9 +15,9 @@ export default class Calendar extends FormInput {
constructor($element, $scope, vnWeekDays, moment) {
super($element, $scope);
this.weekDays = vnWeekDays.locales;
this.defaultDate = Date.vnNew();
this.displayControls = true;
this.moment = moment;
this.defaultDate = Date.vnNew();
}
/**
@ -38,6 +38,7 @@ export default class Calendar extends FormInput {
this._defaultDate = value;
this.month = value.getMonth();
console.log('Llega');
this.repaint();
}