Hi, RFC 3339 makes it *mandatory* to separate the date and time with a "T" in timestamps. Cf. section 5.6 of RFC 3339, describing the timestamp syntax in ABNF:
date-time = full-date "T" full-time Replacing "T" with a space character is an option in ISO 8601, but not in RFC 3339. GNU date's --rfc-3339=seconds and --rfc-3339=ns options replace the "T" with a space character. Please either correct the output format, or remove that option, or update the manpage to document the fact that the output does not respect the standard. I am not providing you a patch, since I don't want to go through the administrative burden of copyright transfer for so little, but here are the correct date formats for the RFC 3339 options: --rfc-3339=date: "%Y-%m-%d" --rfc-3339=seconds: "%Y-%m-%dT%H:%M:%S%:z" --rfc-3339=ns: "%Y-%m-%dT%H:%M:%S.%N%:z" Please CC me when responding, since I have not registered to this list. Thanks. -- Romain LENGLET _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
