Skip to content
Snippets Groups Projects
Commit a6ebeab7 authored by vjrj's avatar vjrj
Browse files

Added locale to date

parent 7d8b3273
No related branches found
No related tags found
No related merge requests found
...@@ -225,8 +225,9 @@ class TransactionListItem extends StatelessWidget { ...@@ -225,8 +225,9 @@ class TransactionListItem extends StatelessWidget {
), ),
const SizedBox(height: 4.0), const SizedBox(height: 4.0),
Tooltip( Tooltip(
message: message: DateFormat.yMd(context.locale.languageCode)
DateFormat.yMd().add_Hm().format(transaction.time), .add_Hm()
.format(transaction.time),
child: Text( child: Text(
humanizeTime( humanizeTime(
transaction.time, context.locale.toString())!, transaction.time, context.locale.toString())!,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment