let WorkTimeSet: {
StartTime: {
hours: new Date().getHours(),
minutes: new Date().getMinutes(),
seconds: new Date().getSeconds()
},
EndTime: {
hours: new Date().getHours(),
minutes: new Date().getMinutes(),
seconds: new Date().getSeconds()
},
WorkFor : {
hours : '',
minutes : '',
seconds : ''
},
WorkingForGetter : function() {
this.WorkFor.hours = new Date().getHours() - this.StartTime.hours, // ошибка перед this
this.WorkFor.minutes = new Date().getMinutes() - this.StartTime.minutes,
this.WorkFor.seconds = new Date().getSeconds() - this.StartTime.seconds
}
}