--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Return select and option tags for the given object and method, using #time_zone_options_for_select to generate the list of option tags."
- !ruby/struct:SM::Flow::P 
  body: In addition to the <tt>:include_blank</tt> option documented above, this method also supports a <tt>:model</tt> option, which defaults to TimeZone. This may be used by users to specify a different time zone model object. (See <tt>time_zone_options_for_select</tt> for more information.)
- !ruby/struct:SM::Flow::P 
  body: You can also supply an array of TimeZone objects as <tt>priority_zones</tt>, so that they will be listed above the rest of the (long) list. (You can use TimeZone.us_zones as a convenience for obtaining a list of the US time zones, or a Regexp to select the zones of your choice)
- !ruby/struct:SM::Flow::P 
  body: Finally, this method supports a <tt>:default</tt> option, which selects a default TimeZone if the object's time zone is <tt>nil</tt>.
- !ruby/struct:SM::Flow::P 
  body: "Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: "  time_zone_select( &quot;user&quot;, &quot;time_zone&quot;, nil, :include_blank =&gt; true)\n\n  time_zone_select( &quot;user&quot;, &quot;time_zone&quot;, nil, :default =&gt; &quot;Pacific Time (US &amp; Canada)&quot; )\n\n  time_zone_select( &quot;user&quot;, 'time_zone', TimeZone.us_zones, :default =&gt; &quot;Pacific Time (US &amp; Canada)&quot;)\n\n  time_zone_select( &quot;user&quot;, 'time_zone', [ TimeZone['Alaska'], TimeZone['Hawaii'] ])\n\n  time_zone_select( &quot;user&quot;, 'time_zone', /Australia/)\n\n  time_zone_select( &quot;user&quot;, &quot;time_zone&quot;, TZInfo::Timezone.all.sort, :model =&gt; TZInfo::Timezone)\n"
full_name: ActionView::Helpers::FormOptionsHelper#time_zone_select
is_singleton: false
name: time_zone_select
params: (object, method, priority_zones = nil, options = {}, html_options = {})
visibility: public
