Bug #17313
closedTime field rendered as Unix Number in TCEForm
0%
Description
Problem:
In the Backend Input field with eval = time are displayed as unix time numbers
Analysis:
It seems to come from the Javascript file t3lib/jsfunc.evalfield.js
function evalFunc_outputObjValue(FObj,value)
tca ...input... eval== "time,nospace" gives number
tca ...input... eval== "time" gives nice time
It seems to come from the Javascript file t3lib/jsfunc.evalfield.js
function
function evalFunc_outputObjValue(FObj,value) {
var evallist = FObj.evallist;
var index=1;
var theEvalType = this.split(evallist, ",", index);
var newValue=value;
while (theEvalType) {
// ### HERE HERE HERE AHMED FIX### it throws away last iteration result
newValue = evalFunc.output(theEvalType, value, FObj);
index++;
theEvalType = this.split(evallist, ",", index);
}
return newValue;
}
-----------------------
most probably this line should be
newValue = evalFunc.output(theEvalType, newValue , FObj);
because my evallist looks like this "required,time,nospace" on iterating nospace it throws away the result of iterating on "time".
(issue imported from #M5640)