mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
global date format for blog comments
This commit is contained in:
@@ -98,7 +98,7 @@ def add_comment(args=None):
|
||||
|
||||
import webnotes.utils
|
||||
|
||||
comment['comment_date'] = webnotes.utils.pretty_date(comment['creation'])
|
||||
comment['comment_date'] = webnotes.utils.global_date_format(comment['creation'])
|
||||
template_args = { 'comment_list': [comment], 'template': 'html/comment.html' }
|
||||
|
||||
# get html of comment row
|
||||
|
||||
Reference in New Issue
Block a user