From 060c35ce04f5aaa87609cd8dc0df4ffac9b7c0de Mon Sep 17 00:00:00 2001 From: Oleksandr Sobol Date: Sat, 1 Feb 2020 20:10:01 +0200 Subject: [PATCH] CWA-170 | changed transaction date format and applied the same format to trade --- lib/src/screens/dashboard/dashboard_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/screens/dashboard/dashboard_page.dart b/lib/src/screens/dashboard/dashboard_page.dart index 5d2e80361..89d767418 100644 --- a/lib/src/screens/dashboard/dashboard_page.dart +++ b/lib/src/screens/dashboard/dashboard_page.dart @@ -112,7 +112,7 @@ class DashboardPageBody extends StatefulWidget { } class DashboardPageBodyState extends State { - static final transactionDateFormat = DateFormat("MMM d, yyyy HH:mm"); + static final transactionDateFormat = DateFormat("MMMM d, yyyy HH:mm"); final _connectionStatusObserverKey = GlobalKey(); final _balanceObserverKey = GlobalKey(); @@ -566,7 +566,7 @@ class DashboardPageBodyState extends State { from: trade.from, to: trade.to, createdAtFormattedDate: - DateFormat("dd.MM.yyyy, H:m").format(trade.createdAt), + transactionDateFormat.format(trade.createdAt), formattedAmount: formattedAmount); }