Hi Guys, I’ve submitted a new patch (3811) to resolve all the
issues with the date_helper library. It also makes time values play nice with AR and scaffolding. I’m hoping I can get some people to help out with
testing it (it passes all the original unit tests, plus 24 new ones), its
working fine on my production apps that use date or time fields. AR will also properly generate scaffolding for time values
from your db now (and save back). So if your running on edge rails, could you apply the patch
and give some feedback if you run into any issues. There shouldn’t be any BC issues either. I’ll hold off on closing all the other tickets as superceded
till I get some other testing feedback. Here’s a changelog: * Makes :discard_year work without breaking multi-attribute
parsing in AR. #1260 #3800 * Adds html id attribute to each element. #1050 #1382 * Adds :index and @auto_index capability to model driven
date/time selects. #847 #2655 * Add :order to datetime_select, select_datetime and
select_date. #1427 * Make scaffolding work with database time values. #2489 * Added time_select to work with time values in models.
#2833 #2489 * Added :include_seconds to select_datetime, datetime_select
and time_select. #2998 * All date/datetime selects can now accept an array of month
names with :use_month_names. Allows for localization. #363 * Adds :date_separator to select_datetime. Preserves BC. * Adds :time_separator to select_time. Preserves BC. Thanks Bob Silva |
_______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core