Add last seen error date to the system status page [MAILPOET-2083]

This commit is contained in:
wxa
2019-05-20 21:00:42 +03:00
committed by M. Shull
parent 594b96c40d
commit 4d45e97ec4
4 changed files with 12 additions and 0 deletions

View File

@@ -56,6 +56,10 @@ const CronStatus = (props) => {
key: MailPoet.I18n.t('lastSeenError'),
value: lastError || MailPoet.I18n.t('none'),
},
{
key: MailPoet.I18n.t('lastSeenErrorDate'),
value: status.last_error_date ? MailPoet.Date.full(status.last_error_date * 1000) : MailPoet.I18n.t('unknown'),
},
]}
/>
</div>