Skip to content

Commit b68cd49

Browse files
committed
fix timestamp
1 parent ac40262 commit b68cd49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/flutter/lib/src/realtime_message.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class RealtimeMessage {
4141
event: map['event'],
4242
payload: Map<String, dynamic>.from(map['payload'] ?? <String, dynamic>{}),
4343
channels: List<String>.from(map['channels'] ?? []),
44-
timestamp: DateTime.fromMillisecondsSinceEpoch(map['timestamp']),
44+
timestamp: DateTime.fromMillisecondsSinceEpoch(map['timestamp'] * 1000),
4545
);
4646
}
4747

0 commit comments

Comments
 (0)