zic: cherrypick support for %z in time zone formats
authormillert <millert@openbsd.org>
Wed, 18 Sep 2024 17:05:50 +0000 (17:05 +0000)
committermillert <millert@openbsd.org>
Wed, 18 Sep 2024 17:05:50 +0000 (17:05 +0000)
commit6a4024dc43a99c7d5c4c59432f9b665d1e8e5f6f
tree05f413743a780df4f93825323a1fd1c558d7af5a
parent32c9c5268f737284e18dd256bd504fb5b5ad905f
zic: cherrypick support for %z in time zone formats

This extends the zic input format to add support for %z, which
expands to a UTC offset in as-short-as-possible ISO 8601 format.
It's intended to better support zones that do not have an established
abbreviation already.  tzdata2024b and higher require a version of
zic that supports the %z format.  From upstream tzcode.  OK beck@
usr.sbin/zic/zic.8
usr.sbin/zic/zic.c