Project

General

Profile

Bug #23568 ยป 15748_v1.patch

Administrator Admin, 2010-09-24 18:58

View differences:

t3lib/jsfunc.evalfield.js
var min = (values.values[2])?this.parseInt(values.values[2]):today.getUTCMinutes();
if (min > 59) {min=59;}
var hour = (values.values[1])?this.parseInt(values.values[1]):today.getUTCHours();
if (hour > 23) {hour=23;}
if (hour >= 24) {hour=0;}
var theTime = new Date(this.getYear(this.refDate), this.refDate.getUTCMonth(), this.refDate.getUTCDate(), hour, min, ((type=="timesec")?sec:0));
    (1-1/1)