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

Details

Provenance
gordonAuthored on Oct 15 2025, 10:24 PM
Reviewer
des
Differential Revision
D53083: Update strptime to accept ISO8601 timezone of "Z"
Parents
rG4548b9f3a816: unix/stream: plug a corner case when control externalization failed
Branches
Unknown
Tags
Unknown