public
Fork of rails/rails
Description: Ruby on Rails - forked for implementing I18n patch
Homepage: http://rubyonrails.org
Clone URL: git://github.com/svenfuchs/rails.git
Fix indentation and update changelogs for previous commit
gbuesing (author)
Sun Jun 29 11:46:07 -0700 2008
commit  4cf93935b2478201863c01569e894c9dcf7e9074
tree    9b2b7c32e7cba4fed7e98c7f2cb99435ce7bb423
parent  d0092dc44d580f4179308c7394d9023098406f79
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *Edge*
0
 
0
+* time_zone_select: support for regexp matching of priority zones. Resolves #195 [Ernie Miller]
0
+
0
 * Made ActionView::Base#render_file private [Josh Peek]
0
 
0
 * Fix polymorphic_url with singleton resources. #461 [Tammer Saleh]
...
315
316
317
318
 
319
320
 
321
322
323
...
315
316
317
 
318
319
 
320
321
322
323
0
@@ -315,9 +315,9 @@ module ActionView
0
         convert_zones = lambda { |list| list.map { |z| [ z.to_s, z.name ] } }
0
 
0
         if priority_zones
0
- if priority_zones.is_a?(Regexp)
0
+ if priority_zones.is_a?(Regexp)
0
             priority_zones = model.all.find_all {|z| z =~ priority_zones}
0
- end
0
+ end
0
           zone_options += options_for_select(convert_zones[priority_zones], selected)
0
           zone_options += "<option value=\"\" disabled=\"disabled\">-------------</option>\n"
0
 
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *Edge*
0
 
0
+* Added TimeZone #=~, to support matching zones by regex in time_zone_select. #195 [Ernie Miller]
0
+
0
 * Added Array#second through Array#tenth as aliases for Array#[1] through Array#[9] [DHH]
0
 
0
 * Added test/do declaration style testing to ActiveSupport::TestCase [DHH via Jay Fields]

Comments

    No one has commented yet.