fix datetime range form