mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
backport from Nathans r48344: Fix duration parsed in wrong format if there was no choice for format.
This commit is contained in:
parent
ee167028e3
commit
1ed8a70a08
@ -500,7 +500,7 @@ var et2_date_duration = et2_date.extend(
|
|||||||
return this.options.empty_not_0 ? '' : 0;
|
return this.options.empty_not_0 ? '' : 0;
|
||||||
}
|
}
|
||||||
// Put value into minutes for further processing
|
// 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':
|
case 'd':
|
||||||
value *= this.options.hours_per_day;
|
value *= this.options.hours_per_day;
|
||||||
|
Loading…
Reference in New Issue
Block a user