in the script funtcion AutoFormatTime has lines
if (this._MaskType == Lucky.Web.UI.WebControls.MaskedEditType.DateTime) {
var arr = this._SplitDateTime(ValueText);
var time_arr = arr[1].split(" ");
if (time_arr.length == 2) {
ValueText = time_arr[0] + " " + time_arr[1];
}
else {
ValueText = arr[0];//not valid array - it`s gate date? but need time
}
but must be
if (this._MaskType == Lucky.Web.UI.WebControls.MaskedEditType.DateTime) {
var arr = this._SplitDateTime(ValueText);
var time_arr = arr[1].split(" ");
if (time_arr.length == 2) {
ValueText = time_arr[0] + " " + time_arr[1];
}
else {
ValueText = time_arr[0];
}
Comments: Outdated.
if (this._MaskType == Lucky.Web.UI.WebControls.MaskedEditType.DateTime) {
var arr = this._SplitDateTime(ValueText);
var time_arr = arr[1].split(" ");
if (time_arr.length == 2) {
ValueText = time_arr[0] + " " + time_arr[1];
}
else {
ValueText = arr[0];//not valid array - it`s gate date? but need time
}
but must be
if (this._MaskType == Lucky.Web.UI.WebControls.MaskedEditType.DateTime) {
var arr = this._SplitDateTime(ValueText);
var time_arr = arr[1].split(" ");
if (time_arr.length == 2) {
ValueText = time_arr[0] + " " + time_arr[1];
}
else {
ValueText = time_arr[0];
}
Comments: Outdated.