velox icon indicating copy to clipboard operation
velox copied to clipboard

Add support for zzzz (and beyond) in format_datetime

Open kevinwilfong opened this issue 4 months ago • 11 comments

Summary: This diff adds support for JODA's zzzz (or more) patterns (all equivalent) in Presto's forma_datetime function.

This is used to format long time zone names.

Long time zone names are not available from the IANA time zone database, so we can't use the tz library to generate these. Fortunately, unicode provides some utilities to generate these.

Differential Revision: D64795407

kevinwilfong avatar Oct 22 '24 23:10 kevinwilfong