From 6e4207f517a7bc9452728349a0c1902231dbe2db Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 13 Mar 2021 19:02:08 +0100 Subject: [PATCH] Fix translation issue --- lib/utils/intl_utils.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/intl_utils.dart b/lib/utils/intl_utils.dart index e31bda0..65f07f0 100644 --- a/lib/utils/intl_utils.dart +++ b/lib/utils/intl_utils.dart @@ -1,6 +1,7 @@ import 'dart:convert'; import 'package:flutter/services.dart'; +import 'package:intl/date_symbol_data_local.dart'; import 'package:intl/intl_standalone.dart'; /// Internationalization utilities @@ -15,6 +16,7 @@ Map> translations; /// This method currently fetch the current user language Future initTranslations() async { _currLang = await findSystemLocale(); + await initializeDateFormatting(_currLang, null); // Load the list of translations final list = Map.from(