<s> import datetime <EOL> import django <EOL> from django . utils . translation import ugettext as _ <EOL> register = django . template . Library ( ) <EOL> @ register . filter ( name = '<STR_LIT>' ) <EOL> def unix_ms_to_datetime ( unixtime ) : <EOL> """<STR_LIT>""" <EOL> if unixtime : <EOL> return datetime . datetime . fromtimestamp ( unixtime / <NUM_LIT:1000> ) <EOL> return _ ( "<STR_LIT>" ) <EOL> unix_ms_to_datetime . is_safe = True </s>
