Fix ChatTime test

This commit is contained in:
Christian 2019-06-10 10:00:39 +00:00
parent c53fe2f618
commit e18f149fb1
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void main() {
test("Formatting", () async {
final int timestamp = 1560144984758;
final ChatTime chatTime = ChatTime(timestamp);
expect(chatTime.toTimeString(),"07:36");
expect(chatTime.toTimeString(),"05:36"); // Skip this if you are not UTC+0
expect(chatTime.toTimeString(),chatTime.toEventTimeString());
final ChatTime oldChatTime = ChatTime(156014498475);