error handling for wrong format for DateTimeField