Does the date format in the upset must be “2006-01-02T15:04:05”?

Yeah, you should follow the RFC 3339 (you need to convert other formats to this RFC)
e.g Understanding about RFC 3339 for Datetime and Timezone Formatting in Software Engineering | by Iman Tumorang | Easyread | Medium