Bug 13176

Summary: The date applet incorrectly forms ISO8601 values for UTC
Product: Busybox Reporter: mrjoel
Component: Standard ComplianceAssignee: 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:

Description mrjoel 2020-08-28 23:47:54 UTC
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
Comment 1 Denys Vlasenko 2020-11-28 20:46:03 UTC
Fixed in git