Project

General

Profile

Bug #19056 » 8893_4.3_alpha1.patch

Administrator Admin, 2009-01-11 03:27

View differences:

t3lib/jsfunc.evalfield.js (working copy)
}
// Seconds since midnight:
function evalFunc_getTime(timeObj) {
return timeObj.getUTCHours()*60*60+timeObj.getUTCMinutes()*60+Math.round(timeObj.getUTCSeconds()/1000);
return timeObj.getUTCHours() * 60 * 60 + timeObj.getUTCMinutes() * 60 + timeObj.getUTCSeconds();
}
function evalFunc_getYear(timeObj) {
return timeObj.getUTCFullYear();
(1-1/2)