Similar code was introduced to date in #7134 and ls in #7154 for formatting a datetime with a timezone abbreviation specifier %Z in a custom format string. It seems ls --time-style=+FORMAT and date +FORMAT have the same behavior. This issue is requesting that we refactor the common datetime formatting code to avoid duplicate code in each place.