Files
zulip/zerver/lib/timezone.py
rht 33b1a541d7 zerver/lib: Use python 3 syntax for typing.
With tweaks by tabbott to fix line spacing.
2017-11-18 16:09:04 -08:00

8 lines
122 B
Python

from typing import Text, List
import pytz
def get_all_timezones() -> List[Text]:
return sorted(pytz.all_timezones)