def get_recent_mtime(t):
if isinstance(t, int):<EOL><INDENT>if len(str(t)) == <NUM_LIT>:<EOL><INDENT>t = t // <NUM_LIT:1000><EOL><DEDENT>t = datetime.datetime.fromtimestamp(t)<EOL><DEDENT>now = datetime.datetime.now()<EOL>delta = now - t<EOL>if delta.days == <NUM_LIT:0>:<EOL><INDENT>return datetime.datetime.strftime(t, '<STR_LIT>')<EOL><DEDENT>elif now.year == t.year:<EOL><INDENT>return datetime.datetime.strftime(t, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>return datetime.datetime.strftime(t, '<STR_LIT>')<EOL><DEDENT>
获取更精简的时间.

    如果是当天的, 就返回时间; 如果是当年的, 就近回月份和日期; 否则返回完整的时间