Skip to content

Commit e4a3573

Browse files
committed
msglist: Fix timestamp format to zero-pad the minutes
1 parent 2ad0e17 commit e4a3573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/message_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class MessageWithSender extends StatelessWidget {
267267
}
268268

269269
// TODO web seems to ignore locale in formatting time, but we could do better
270-
final _kMessageTimestampFormat = DateFormat('h:m a', 'en_US');
270+
final _kMessageTimestampFormat = DateFormat('h:mm aa', 'en_US');
271271

272272
// TODO this seems to come out lighter than on web
273273
final _kMessageTimestampStyle = TextStyle(

0 commit comments

Comments
 (0)