Time validation fixes.