def add_timestamp_info(screen, y, x, ts, col_index):
    s = ts.Description()
    screen.addstr(y, x, s[:s.rfind('.')], curses.color_pair(col_index))
def add_timestamp_info(screen, y, x, ts, col_index):
    s = ts.Description()
    screen.addstr(y, x, s[:s.rfind('.')], curses.color_pair(col_index))