mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 04:07:57 -06:00
feat: Add US/GB english discrimination, fix incorrect localizations
This commit is contained in:
@@ -331,7 +331,8 @@ class _InboxPageState extends State<InboxPage>
|
||||
if (doc.added.isYesterday) {
|
||||
return S.of(context)!.yesterday;
|
||||
}
|
||||
return DateFormat.yMMMMd().format(doc.added);
|
||||
return DateFormat.yMMMMd(Localizations.localeOf(context).toString())
|
||||
.format(doc.added);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user