Updated dateformat to localize

This commit is contained in:
2026-01-17 15:17:33 +01:00
parent be9d1b52d2
commit 8a38b9c3ea
3 changed files with 3 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ class _GroupProfileViewState extends State<GroupProfileView> {
),
const SizedBox(height: 5),
Text(
"${loc.created_on} ${DateFormat('MMM d, yyyy').format(widget.group.createdAt)}",
'${loc.created_on} ${DateFormat.yMMMd(Localizations.localeOf(context).toString()).format(widget.group.createdAt)}',
style: const TextStyle(
fontSize: 12,
color: CustomTheme.textColor,