update begin of shift
This commit is contained in:
parent
210d7ef71b
commit
a26a3dd5f6
@ -311,4 +311,7 @@ Shift.thaw = function (jsonShift) {
|
|||||||
shift.id = jsonShift.id;
|
shift.id = jsonShift.id;
|
||||||
shift.Dauer = moment.duration(jsonShift._duration);
|
shift.Dauer = moment.duration(jsonShift._duration);
|
||||||
return shift;
|
return shift;
|
||||||
};
|
};
|
||||||
|
Shift.prototype.updateBeginn = function(hour) {
|
||||||
|
this._begin = this._begin.add('hours', hour);
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user