mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-16 17:45:15 +00:00
fix(Chat/FetchMessage): Fetch date is empty in new chats with no messages
Fixes #5726
This commit is contained in:
parent
8eff1bdfd0
commit
3b86032bc8
@ -301,7 +301,7 @@ QtObject {
|
||||
const formatDDMMYY = "dddd d MMMM yyyy"
|
||||
const formatMMDDYY = "dddd, MMMM d, yyyy"
|
||||
const currentFormat = isDDMMYYDateFormat ? formatDDMMYY : formatMMDDYY
|
||||
return !!value ? Qt.formatDate(new Date(), currentFormat) :
|
||||
return !value ? Qt.formatDate(new Date(), currentFormat) :
|
||||
Qt.formatDate(new Date(value), currentFormat)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user