diff --git a/src/js/index.js b/src/js/index.js index e7879a396..29a8d3689 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -327,6 +327,12 @@ app.filter('prettyLongDate', function () { }; }); +app.filter('prettyShortDate', function () { + return function prettyShortDate(time) { + return moment(time).format('MMMM Do YYYY'); + }; +}); + app.filter('markdown2html', function () { var converter = new showdown.Converter({ extensions: ['targetblank'],