mirror of
https://github.com/axllent/mailpit.git
synced 2025-07-09 01:05:34 +02:00
@ -1,5 +1,6 @@
|
||||
import axios from 'axios';
|
||||
import { Modal } from 'bootstrap';
|
||||
import moment from 'moment';
|
||||
|
||||
|
||||
// FakeModal is used to return a fake Bootstrap modal
|
||||
@ -26,6 +27,10 @@ const commonMixins = {
|
||||
return new Intl.NumberFormat().format(nr);
|
||||
},
|
||||
|
||||
messageDate: function (d) {
|
||||
return moment(d).format('ddd, D MMM YYYY, h:mm a');
|
||||
},
|
||||
|
||||
// Ajax error message
|
||||
handleError: function (error) {
|
||||
// handle error
|
||||
|
Reference in New Issue
Block a user