-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
we're migrating to this package from our own Stream API implementation. While all the timestamps coming from the API are UTC we also need to parse them as UTC to let them automatically convert into local time.
What I've done was:
DateTime.parse('${json['time'] as String}Z')This worked perfectly fine and got converted in the local timezone.
Right now:
print(activity.time!.isUtc);Prints false which is not correct - the time actually is UTC :/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working