Subject: bug#14545: date --iso-8601 should use colon in time zone offset

From: Paul Eggert <[email-masked]>
Date: Tue, 04 Jun 2013 00:10:12 -0700

On 06/02/2013 09:13 PM, Jordon Kalilich wrote:
> The output mostly follows the ISO 8601:2004 extended format but fails to include
> a colon in the time zone offset, as required by section 4.3.2 "Complete
> representations" and section 4.3.3 "Representations other than complete."

If memory serves the --iso-8601 option conformed to ISO 8601
a while ago, but the ISO standard changed.  At any rate, the
--iso-8601 option has been deprecated since 2005.  Hmm, I
see that this has not been reflected in the documentation, so
perhaps that's the next step to take for this option, on its
way out the door.

You can get the effect you want, with the command

date +'%Y-%m-%dT%H:%M:%S.%N%:z'