bugs.gh_8501_test. fix(cast-format): Throw exception when value cannot be found for specific pattern in string to datetime conversion