<b>6.0.0.2052</b>
TreeHunter 2026.07.03 14:33:59
fix(cast format): Correct behavior of `YEAR` pattern (#9052)
* refactor(cast format): Use correct name for variables that holds patterns
Only names was incorrect, usage of these variables was correct;
* fix(cast format): Correct behavior of YEAR pattern
This pattern was taken from Oracle and should represent `spelled out year (TWENTY TWENTY SIX)`. In it current implementation it was similar to YYYY (just year as number (2026)), which is incorrect.
* fix(cast format): Update existing tests and add new ones for the reimplemented YEAR pattern
---------
Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>

Changed paths:
  M doc/sql.extensions/README.cast.format.md
  M src/common/CvtFormat.cpp
  M src/common/tests/CvtTest.cpp