From bec14d35d7a70e3da54152a1fbd6e673b94f0565 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 20 2018 10:04:50 +0000 Subject: Ensure the time-zones are always sorted --- diff --git a/fedocal/forms.py b/fedocal/forms.py index f25699b..631ec66 100644 --- a/fedocal/forms.py +++ b/fedocal/forms.py @@ -148,7 +148,7 @@ class AddMeetingForm(i18nforms.Form): meeting_timezone = wtforms.SelectField( _('Time zone'), [wtforms.validators.Required()], - choices=[(tzone, tzone) for tzone in common_timezones]) + choices=[(tzone, tzone) for tzone in sorted(common_timezones)]) wiki_link = wtforms.TextField(_('More information URL'))