forked from extern/egroupware
Fix copy/paste error - Et2DateDuration does not have an options property to access
This commit is contained in:
parent
00f7b51fbd
commit
3c9b9540e4
@ -449,9 +449,9 @@ export class Et2DateDuration extends Et2InputWidget(FormControlMixin(LitElement)
|
||||
return _highest ? _value : _value % 60;
|
||||
case 'h':
|
||||
_value = Math.floor(_value / 3600);
|
||||
return _highest ? _value : _value % this.options.hours_per_day;
|
||||
return _highest ? _value : _value % this.hours_per_day;
|
||||
case 'd':
|
||||
return Math.floor(_value / 3600 * this.options.hours_per_day);
|
||||
return Math.floor(_value / 3600 * this.hours_per_day);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user