utils/parse_date_from_utc library
Functions
-
parseDateFromUTC(
String? time) → DateTime? - This function converts a sting in ISO8601 format into a DateTime object which is in UTC and then converts in into the local timezone. Used to convert times from the Papercups API. It assumes all times provided are in UTC or it will force them bo be.