@staticmethod<EOL><INDENT>def _get_date_str(timestamp, datetimefmt, show_date=False):<DEDENT>
fmt = '<STR_LIT>'<EOL>if show_date:<EOL><INDENT>fmt += '<STR_LIT:\n>'+datetimefmt.get('<STR_LIT:date>', '<STR_LIT>')+'<STR_LIT:\n>'<EOL><DEDENT>fmt += datetimefmt.get('<STR_LIT:time>', '<STR_LIT>')<EOL>return timestamp.astimezone(tz=None).strftime(fmt)<EOL>
Convert UTC datetime into user interface string.