fixed time-setting bug in edit.js