Add pretty date only showing date
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user