#NEWLINE# @ register . filter #NEWLINE# def timesince( time ) : #NEWLINE# #INDENT# if ( not ago ) : #NEWLINE# #INDENT# return '' #NEWLINE# #UNINDENT# ago = defaultfilters . timesince ( time ) #NEWLINE# return _ ( '{0} ago' ) . format ( ago )