Skip to content

Commit 736dc4d

Browse files
chrisbobbegnprice
authored andcommitted
msglist [nfc]: Use a helper field we just added
1 parent 4d4928f commit 736dc4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/message_list.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,8 @@ enum MessageTimestampStyle {
20352035

20362036
static final _lightboxFormat =
20372037
DateFormat.yMMMd().addPattern(_timeFormat24WithSeconds.pattern);
2038-
static final _fullFormat = DateFormat.yMMMd().add_jm();
2038+
static final _fullFormat =
2039+
DateFormat.yMMMd().addPattern(_timeFormatLocaleDefault.pattern);
20392040

20402041
/// Format a [Message.timestamp] for this mode.
20412042
// TODO(i18n): locale-specific formatting (see #45 for a plan with ffi)

0 commit comments

Comments
 (0)