diff --git a/Changelog.md b/Changelog.md index 524b8380..03e699b3 100644 --- a/Changelog.md +++ b/Changelog.md @@ -25,6 +25,8 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/) ### Changed * Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8 * GODT-785 Clear separation of different message IDs in integration tests. +### Changed +* GODT-741 Import-Export shows "Unable to parse time" notice instead of zero time in error report window. * Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8. * GODT-374 Allow to send calendar update multiple times. diff --git a/internal/frontend/qt-ie/error_list.go b/internal/frontend/qt-ie/error_list.go index ebe6bced..44af9502 100644 --- a/internal/frontend/qt-ie/error_list.go +++ b/internal/frontend/qt-ie/error_list.go @@ -72,6 +72,9 @@ func (e *ErrorListModel) data(index *core.QModelIndex, role int) *core.QVariant case MailSubject: return qtcommon.NewQVariantString(r.Subject) case MailDate: + if r.Time.IsZero() { + return qtcommon.NewQVariantString("Unavailable") + } return qtcommon.NewQVariantString(r.Time.String()) case MailFrom: return qtcommon.NewQVariantString(r.From)