mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-06-02 21:42:13 +00:00
remove date
This commit is contained in:
parent
872592af21
commit
c10dc19342
1 changed files with 2 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ class ChatDateChip extends StatelessWidget {
|
||||||
} else if (itemDay == yesterday) {
|
} else if (itemDay == yesterday) {
|
||||||
formattedDate = context.lang.yesterday;
|
formattedDate = context.lang.yesterday;
|
||||||
} else if (date.year == now.year) {
|
} else if (date.year == now.year) {
|
||||||
formattedDate = DateFormat('E, d. MMM.', locale).format(date);
|
formattedDate = DateFormat('E, d. MMM', locale).format(date);
|
||||||
} else {
|
} else {
|
||||||
formattedDate = DateFormat('E, d. MMM. y', locale).format(date);
|
formattedDate = DateFormat('E, d. MMM y', locale).format(date);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Center(
|
return Center(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue