From 118f8f416daaf0ea685b9c080188787192183cf7 Mon Sep 17 00:00:00 2001 From: Shyukri Shyukriev Date: Wed, 29 Jun 2016 12:38:27 +0200 Subject: [PATCH] Scheduling new conference: use default Time.zone.now instead of the 1st available option which was American Samoa. Should fix issue#1064. --- app/views/admin/conference/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/conference/new.html.haml b/app/views/admin/conference/new.html.haml index 0b397d4f..2144332e 100644 --- a/app/views/admin/conference/new.html.haml +++ b/app/views/admin/conference/new.html.haml @@ -7,7 +7,7 @@ = f.input :short_title, hint: "A short and unique handle for your conference, using only lower-case letters, numbers and underscores. This will be used to identify your conference in URLs etc. Example: 'froscon2011'", input_html: { required: 'required' } = f.inputs 'Scheduling' do - = f.input :timezone, as: :time_zone, hint: 'Please select in what time zone your conference will take place.' + = f.input :timezone, as: :time_zone, default: Time.zone.name, hint: 'Please select in what time zone your conference will take place.' = f.input :start_date, as: :string, input_html: { id: 'conference-start-datepicker', required: 'required' } = f.input :end_date, as: :string, input_html: { id: 'conference-end-datepicker', required: 'required' } = f.actions do