Date parsing improved - appropriate message is thrown when custom parsing fails.