Displaying 1 result from an estimated 1 matches for "priority_time_zones".
2005 Oct 19
1
TZInfo::Timezone problem selected value
...nd the corrected selected
@firm.gmt_zone = Europe/London
TimeZone from ruby (trying to expand with TZinfo)
dont want to select Europe/London, and not sorted
<select id="firm_gmt_zone" name="firm[gmt_zone]">
<%= time_zone_options_for_select(selected = @firm.gmt_zone,
priority_time_zones = nil, model = TZInfo::Timezone) %><br />
</select>
the selectlist from TZInfo
this list is sorted, but the value isnt selected
<%= time_zone_select ''user'', ''time_zone'', TZInfo::Timezone.all.sort, :model
=> TZInfo::Timezone, :selected =&...