v.25.4Improvement

Fix year parsing

Fix year parsing in Joda syntax (this is from the Java world if you're wondering) like yyy. #77973 (李扬).
Fixes the parsing of year patterns in Joda date/time syntax, specifically handling the yyy format correctly.

Why it matters

The feature resolves an issue in ClickHouse where the year pattern yyy in Joda syntax was not parsed properly, ensuring accurate date and time interpretation when using such patterns. This improves compatibility and correctness for users relying on Joda date/time formatting.

How to use it

Users can benefit from this fix by using the Joda syntax with year patterns like yyy in their date/time queries or formatting expressions without any additional configuration.