4856-worker.time-control #1375

Merged
joan merged 32 commits from 4856-worker.time-control into dev 2023-03-16 06:39:02 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit cda7a6e3fd - Show all commits

View File

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