Open krowbar opened 2 years ago
hey @krowbar, str() returns ISO8601 which does have the "T", as per https://github.com/arrow-py/arrow/blob/1.2.3/arrow/arrow.py#L792
in order to not break backwards compatibility of people that might already be using this formatter, I'd say we can add another one, FORMAT_RFC3339_STRICT, to add the "T".
@jadchaar @anishnya @systemcatch thoughts?
Chiming in to say this bit us. Expected the T as the most standard string format for datetimes now.
Include "T" separator in the format string for FORMAT_RFC3339
Currently the FORMAT_RFC3339 does not include the "T" separator, but technically it is required. From https://www.rfc-editor.org/rfc/rfc3339#page-7
I realize that str() already returns the RFC3339 format with the "T".