Re:Dates and Times in JavaScript – A New API for Dates from ...
by roryokane on Friday July 10, 2020 @09:47PM
(#23798708)
ISO-8601 does not allow replacing the T with a space. You are thinking of RFC 3339 “Date and Time on the Internet: Timestamps”, a profile of ISO-8601 that does allow replacing the T with a space.
> NOTE: ISO 8601 defines date and time separated by "T". Applications using this syntax may choose, for the sake of readability, to specify a full-date and full-time separated by (say) a space character.
From https://tools.ietf.org/html/rfc3339#page-8:
> NOTE: ISO 8601 defines date and time separated by "T". Applications using this syntax may choose, for the sake of readability, to specify a full-date and full-time separated by (say) a space character.
See https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_tim... for more references.