feat(forums): emoji in forum post form by enter colon

#20
This commit is contained in:
OldHawk
2017-12-10 15:37:21 +08:00
parent 9f12a91e9f
commit 7cc16c5038
5 changed files with 47 additions and 27 deletions

View File

@@ -559,7 +559,7 @@
* @param obj, topic or reply object, need the content field
*/
vm.quoteAndReply = function (obj) {
var by = obj.user.displayName + ' at ' + $filter('date')(obj.updatedAt ? obj.updatedAt : obj.createdAt, 'yyyy-MM-dd HH:mm:ss');
var by = obj.user.displayName + ' at ' + $filter('date')((obj.updatedAt ? obj.updatedAt : obj.createdAt), 'yyyy-MM-dd HH:mm');
by = '_' + by + '_' + '\n\n';
var list = [];