Skip to content

Commit

Permalink
fix bug on Ticket changelist on date created
Browse files Browse the repository at this point in the history
  • Loading branch information
simodalla committed Nov 15, 2016
1 parent 6bc68c2 commit 7830f69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openhelpdesk/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ def ld_source(self, obj):
ld_source.short_description = _('Source')

def ld_created(self, obj):
from django.template import defaultfilters
return defaultfilters.date(obj.created, 'SHORT_DATETIME_FORMAT')
return obj.created
ld_created.admin_order_field = 'created'
ld_created.allow_tags = True
ld_created.short_description = _('Created')
Expand Down

0 comments on commit 7830f69

Please sign in to comment.