v.23.11Backward Incompatible Changes
Formatters in parseDateTime and formatDateTime Now Support Hours/Months Without Leading Zeros
Formatters%l/%k/%cin functionparseDateTimeare now able to parse hours/months without leading zeros, e.g.select parseDateTime('2023-11-26 8:14', '%F %k:%i')now works. Setparsedatetime_parse_without_leading_zeros = 0to restore the previous behavior which required two digits. FunctionformatDateTimeis now also able to print hours/months without leading zeros. This is controlled by settingformatdatetime_format_without_leading_zerosbut off by default to not break existing use cases. #55872 (Azat Khuzhin).