Skip to content

Commit b7146a7

Browse files
chrisbobbegnprice
authored andcommitted
msglist [nfc]: s/_timeOnlyFormat/_timeFormat/
1 parent 1d1f426 commit b7146a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/message_list.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,7 +2011,7 @@ enum MessageTimestampStyle {
20112011
return DateFormat.yMMMd().format(dateTime);
20122012
}
20132013
}
2014-
static final _timeOnlyFormat = DateFormat('h:mm aa');
2014+
static final _timeFormat = DateFormat('h:mm aa');
20152015
static final _lightboxFormat = DateFormat.yMMMd().add_Hms();
20162016
static final _fullFormat = DateFormat.yMMMd().add_jm();
20172017

@@ -2031,7 +2031,7 @@ enum MessageTimestampStyle {
20312031
case dateOnlyRelative:
20322032
return _formatDateOnlyRelative(asDateTime,
20332033
now: now, zulipLocalizations: zulipLocalizations);
2034-
case timeOnly: return _timeOnlyFormat.format(asDateTime);
2034+
case timeOnly: return _timeFormat.format(asDateTime);
20352035
case lightbox: return _lightboxFormat.format(asDateTime);
20362036
case full: return _fullFormat.format(asDateTime);
20372037
}

0 commit comments

Comments
 (0)