Add array support when time zone aware attributes are enabled

Fixes #13402