No seconds or milliseconds, in date/times

This commit is contained in:
Nathan Gray 2014-01-14 12:35:28 +00:00
parent ae491c0810
commit 6418c06b18

View File

@ -207,7 +207,8 @@ var et2_date = et2_inputWidget.extend(
// User blanked the box // User blanked the box
return null; return null;
} }
// Convert to timestamp // Convert to timestamp - no seconds
this.date.setSeconds(0,0);
return Math.round(this.date.valueOf() / 1000); return Math.round(this.date.valueOf() / 1000);
} }
}); });