[Bug 13176] New: The date applet incorrectly forms ISO8601 values for UTC
bugzilla at busybox.net
bugzilla at busybox.net
Fri Aug 28 23:47:54 UTC 2020
https://bugs.busybox.net/show_bug.cgi?id=13176
Bug ID: 13176
Summary: The date applet incorrectly forms ISO8601 values for
UTC
Product: Busybox
Version: 1.31.x
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Standard Compliance
Assignee: unassigned at busybox.net
Reporter: mrjoel at lixil.net
CC: busybox-cvs at busybox.net
Target Milestone: ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list