| Summary: | The date applet incorrectly forms ISO8601 values for UTC | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | mrjoel |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | busybox-cvs, mrjoel |
| Priority: | P5 | ||
| Version: | 1.31.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Fixed in git |
When requested to generate a UTC date in the ISO 8601 format with a time component included, an incorrect zone offset suffix is used. When ran as "date --utc -Iseconds" (or hours/minutes), a formatted value is generated which includes "UTC" as the timezone suffix which is non-compliant with the standard as a timezone designator. Either of a "Z" or "+00:00" suffix would work. Instead of the incorrect: 2020-08-28T23:46:55UTC Should generate one of the correct values as: 2020-08-28T23:46:55Z 2020-08-28T23:46:55+00:00