Bug 154804
Summary: | strptime '%z' format doesn't work. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Woodhouse <dwmw2> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | drepper, roland |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.3.5-3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-28 12:34:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Woodhouse
2005-04-14 10:53:48 UTC
%z has never been implemented, so I'd say this is mainly a documentation bug that documents a GNU extension that never existed. You can see that strptime returns NULL, i.e. an error. Unlike %z, %Z does not cause a failure, but is simply ignored. %z perhaps could be implemented, but %Z would be much harder. I fixed this in upstream glibc. %z has been implemented in CVS glibc, should appear in glibc-2.3.5-3 and above. |