def formatTime(t):
if isinstance(t, float):<EOL><INDENT>return datetime.utcfromtimestamp(t).strftime(timeFormat)<EOL><DEDENT>if isinstance(t, datetime):<EOL><INDENT>return t.strftime(timeFormat)<EOL><DEDENT>
Properly Format Time for permlinks