Add pretty date only showing date

This commit is contained in:
Johannes Zellner
2019-03-06 15:54:21 +01:00
parent 07d37e133f
commit 3b1a08c67e
+6
View File
@@ -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'],