Skip to content

Commit

Permalink
TW-1314-part-II: Change format date time from MM/dd/yy to dd/MM/yy
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev authored and hoangdat committed Feb 19, 2024
1 parent cd49f8c commit 2e7eef8
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/yy").format(this);
return DateFormat("dd/MM/yy").format(this);
}
return L10n.of(context)!.dateWithYear(
year.toString(),
Expand Down

0 comments on commit 2e7eef8

Please sign in to comment.