Displaying 3 results from an estimated 3 matches for "time_zone_options_for_select".
2012 Sep 03
0
time_zone_options_for_select method in ActionView::Helpers is not DST aware
We are using time_zone_options_for_select for the letting the user to
select the timezone to assign to an object.
But we are having trouble because currently we are on DST period, so in utc
-5 but the list is showing utc-6 (the normal offset)
As per usage suggested in this issue:
https://github.com/rails/rails/issues/7297.
I wrote a...
2005 Oct 19
1
TZInfo::Timezone problem selected value
...9;'
i want to have a select box with all the zones and 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.so...
2006 May 19
1
flickr like DST timezone management
Hello everyone
I wonder if anyone can point me to the library for timezone management
with DST support, which has timezones, like flickr has. I know that
there is TZInfo, but it''s a bit different for it has huge list of
available timezones in ''Continent/City'' format. I would like my
application to have timezones list more like on flickr (or windows
regional settings) -