HomeFreeBSD

libc: Add "Z" as TZ designator for strptime.

Description

libc: Add "Z" as TZ designator for strptime.

ISO 8601 allows use of "Z" as the time zone designator. Update the
strptime parser to allow this usage.

While we are at it, update the manpage to reflect that both UTC and Z
are now valid options.

Reviewed by: des
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D53083

(cherry picked from commit 79e57ea662d92ffcbe7d65854a284aefac6a332d)

Details

Provenance
gordonAuthored on Oct 15 2025, 10:24 PM
Reviewer
des
Differential Revision
D53083: Update strptime to accept ISO8601 timezone of "Z"
Parents
rG7272e2d029c2: so_reuseport_lb_test: Add a test case for connected UDP sockets
Branches
Unknown
Tags
Unknown