Time validation fixes (#244)