global date format for blog comments

This commit is contained in:
Anand Doshi 2012-08-23 17:15:13 +05:30
parent 6db2ac51e6
commit 7e657d79fd

View File

@ -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