Use more readable datetime tooltip format in activity log

This commit is contained in:
Johannes Zellner
2018-03-02 18:58:49 +01:00
parent e2a3654ed7
commit 31c414bbe1
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -252,6 +252,12 @@ app.filter('prettyDate', function () {
};
});
app.filter('prettyLongDate', function () {
return function prettyLongDate(time) {
return moment(time).format('MMMM Do YYYY, h:mm:ss a');
};
});
app.filter('markdown2html', function () {
var converter = new showdown.Converter({
extensions: ['targetblank'],