1 | import moment from 'moment';
|
2 | export var DateFormatter = (function () {
|
3 | function DateFormatter() {
|
4 | }
|
5 | DateFormatter.prototype.format = function (date, format) {
|
6 | return moment(date.getTime()).format(format);
|
7 | };
|
8 | return DateFormatter;
|
9 | }());
|
10 | //# sourceMappingURL=date-formatter.js.map |
\ | No newline at end of file |