CWA-170 | changed transaction date format and applied the same format to trade
Oleksandr Sobol committed
Feb 1, 2020 at 20:10 UTC
060c35ce04f5aaa87609cd8dc0df4ffac9b7c0de
1 file changed
+2
-2
lib/src/screens/dashboard/dashboard_page.dart
+2
-2
@@ -112,7 +112,7 @@ class DashboardPageBody extends StatefulWidget {
112
}
113
114
class DashboardPageBodyState extends State<DashboardPageBody> {
115
- static final transactionDateFormat = DateFormat("MMM d, yyyy HH:mm");
115
+ static final transactionDateFormat = DateFormat("MMMM d, yyyy HH:mm");
116
117
final _connectionStatusObserverKey = GlobalKey();
118
final _balanceObserverKey = GlobalKey();
@@ -566,7 +566,7 @@ class DashboardPageBodyState extends State<DashboardPageBody> {
566
from: trade.from,
567
to: trade.to,
568
createdAtFormattedDate:
569
- DateFormat("dd.MM.yyyy, H:m").format(trade.createdAt),
569
+ transactionDateFormat.format(trade.createdAt),
570
formattedAmount: formattedAmount);
571
}
572