Skip to content

Commit

Permalink
TW-1314: Change date format in chat list
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev authored and hoangdat committed Jan 10, 2024
1 parent 40129dd commit a50f178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/date_time_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extension DateTimeExtension on DateTime {
} else if (year == DateTime.now().year) {
return DateFormat("MMM d").format(this);
} else {
return DateFormat("MM/dd/yyyy").format(this);
return DateFormat("MM/dd/yy").format(this);
}
return L10n.of(context)!.dateWithYear(
year.toString(),
Expand Down

0 comments on commit a50f178

Please sign in to comment.