Browse Source

feat: Update src/views/components/NewsletterList.js

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
pull/204/head
Aldino Kemal 1 year ago
committed by GitHub
parent
commit
6c1b437167
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      src/views/components/NewsletterList.js

1
src/views/components/NewsletterList.js

@ -67,6 +67,7 @@ export default {
},
formatDate: function (value) {
if (!value) return ''
if (isNaN(value)) return 'Invalid date';
return moment.unix(value).format('LLL');
}
},

Loading…
Cancel
Save