v.21.8Bug Fix
CAST Date to DateTime now respects timezone settings, improving comparisons and function results.
CASTfromDatetoDateTime(orDateTime64) was not using the timezone of theDateTimetype. It can also affect the comparison betweenDateandDateTime. Inference of the common type forDateandDateTimealso was not using the corresponding timezone. It affected the results of functionifand array construction. Closes #24128. #24129 (Maksim Kita).