global date format for blog comments
This commit is contained in:
parent
6db2ac51e6
commit
7e657d79fd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user