Diversido / flutter_twilio_conversations

Integrate the Twilio Conversations SDK with your Flutter app using this Twilio Conversations Flutter plugin
7 stars 7 forks source link

dateUpdated and dateCreated are returning values off by 12 hours #13

Closed Brandon-Wolff closed 1 year ago

Brandon-Wolff commented 1 year ago

The dateToString function in the Mapper files for both iOS and Android uses 12 hour formatting without including an AM or PM indicator. Because of this, any channel created or updated after noon appears to have been made 12 hours earlier. Changing "yyyy-MM-dd hh:mm:ss" to "yyyy-MM-dd HH:mm:ss" fixes the problem.

asmodeoux commented 1 year ago

Fixed in release 1.1.2+4