BUG-13860 SOLVED El formato de fechas en grillas no se refleja de acuerdo a la definición de mascara en la sección HOME / Inbox / {seleccionar un caso} / en el modo vista.
This commit is contained in:
@@ -4409,10 +4409,8 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
|
|||||||
} else {
|
} else {
|
||||||
$isRequired = '0';
|
$isRequired = '0';
|
||||||
}
|
}
|
||||||
if ($v == 'today') {
|
$mask = str_replace( "%", "", $this->mask );
|
||||||
$mask = str_replace( "%", "", $this->mask );
|
$v = date( masktophp($mask, $v) );
|
||||||
$v = date( masktophp($mask, $v) );
|
|
||||||
}
|
|
||||||
$html = '<input ' . $this->NSRequiredValue() . ' class="module_app_input___gray" id="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" name="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" type ="text" size="' . $this->size . '" maxlength="' . $this->maxLength . '" value="' . $this->htmlentities( $v, ENT_COMPAT, 'utf-8' ) . '" pm:required="' . $isRequired . '" style="display:none;' . htmlentities( $this->style, ENT_COMPAT, 'utf-8' ) . '" ' . $this->NSGridType() . '/>' . htmlentities( $v, ENT_COMPAT, 'utf-8' );
|
$html = '<input ' . $this->NSRequiredValue() . ' class="module_app_input___gray" id="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" name="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" type ="text" size="' . $this->size . '" maxlength="' . $this->maxLength . '" value="' . $this->htmlentities( $v, ENT_COMPAT, 'utf-8' ) . '" pm:required="' . $isRequired . '" style="display:none;' . htmlentities( $this->style, ENT_COMPAT, 'utf-8' ) . '" ' . $this->NSGridType() . '/>' . htmlentities( $v, ENT_COMPAT, 'utf-8' );
|
||||||
} else {
|
} else {
|
||||||
$id = 'form[' . $owner->name . '][' . $r . '][' . $this->name . ']';
|
$id = 'form[' . $owner->name . '][' . $r . '][' . $this->name . ']';
|
||||||
|
|||||||
Reference in New Issue
Block a user