Fix format_time function to use user preferences

Adapt select_timezone function to be used in board settings