From 4341a5abaa1d143a9daa13986eabaf210143da4e Mon Sep 17 00:00:00 2001 From: Ray Baxter Date: Sat, 16 Jul 2011 23:54:40 -0700 Subject: document that second tags are also returned by default --- actionpack/lib/action_view/helpers/date_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 556145484a..1870493e8e 100644 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -290,7 +290,7 @@ module ActionView InstanceTag.new(object_name, method, self, options.delete(:object)).to_datetime_select_tag(options, html_options) end - # Returns a set of html select-tags (one for year, month, day, hour, and minute) pre-selected with the + # Returns a set of html select-tags (one for year, month, day, hour, minute and second) pre-selected with the # +datetime+. It's also possible to explicitly set the order of the tags using the :order option with # an array of symbols :year, :month and :day in the desired order. If you do not # supply a Symbol, it will be appended onto the :order passed in. You can also add -- cgit v1.2.3