def show_timezone_quickpanel(callback, selected_item):
    global s
    show_quick_panel = sublime.active_window().show_quick_panel
    if ST2:
        show_quick_panel(pytz.all_timezones, callback)
    else:
        try:
            selected_index = pytz.all_timezones.index(selected_item)
        except __HOLE__:
            selected_index = 0
        show_quick_panel(pytz.all_timezones, callback,
                         selected_index=selected_index)

# I wrote this for InactivePanes, but why not just use it here as well?
# TODO write methods to change settings and flush changes.
dataset/ETHPy150Open FichteFoll/InsertDate/insert_date.py/show_timezone_quickpanel