Skip to content

Commit

Permalink
fix: twelve hour time format fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed Feb 23, 2024
1 parent fa3bc97 commit fcf66da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class _MentionDateBlockState extends State<MentionDateBlock> {
final twentyFourHourFormat = DateFormat('HH:mm');

try {
if (timeFormat == TimeFormatPB.TwelveHour) {
if (timeFormat == UserTimeFormatPB.TwelveHour) {
return twelveHourFormat.parseStrict(timeStr);
}

Expand Down

0 comments on commit fcf66da

Please sign in to comment.