Merge pull request #5 from Iconica-Development/hotfix/date-format

Remove the '-' between date and time when formatting dates
This commit is contained in:
Bart Ribbers 2022-12-21 17:16:09 +01:00 committed by GitHub
commit 676988bfd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,6 @@ class DateFormatter {
bool showFullDate = false,
}) =>
DateFormat(
_isToday(date)
? 'HH:mm'
: 'dd-MM-yyyy${showFullDate ? ' - HH:mm' : ''}',
_isToday(date) ? 'HH:mm' : 'dd-MM-yyyy${showFullDate ? ' HH:mm' : ''}',
).format(date);
}