mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Fix duration parsed in wrong format if there was no choice for format.
This commit is contained in:
parent
6cabb4d37f
commit
6b2b686544
@ -500,7 +500,7 @@ var et2_date_duration = et2_date.extend(
|
||||
return this.options.empty_not_0 ? '' : 0;
|
||||
}
|
||||
// Put value into minutes for further processing
|
||||
switch(this.format ? this.format.val() : this.options.display_format)
|
||||
switch(this.format && this.format.val() ? this.format.val() : this.options.display_format)
|
||||
{
|
||||
case 'd':
|
||||
value *= this.options.hours_per_day;
|
||||
|
Loading…
Reference in New Issue
Block a user