<gh_stars>0
from django import template    
register = template.Library()    

@register.filter('timestamp_to_time')
def convert_timestamp_to_time(timestamp):
    import time
    import datetime
    return datetime.date.fromtimestamp(int(timestamp))