function on_tick() local time_str = os.date('%Y-%m-%d %H:%M:%S') ui:show_text(time_str) end