Forum: Ruby on Rails options_from_collection_for_select

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Pa S. (Guest)
on 2007-01-04 12:18
Hi

I have an array with dates. Now I'd like to show them in a drop-down
menu, like a collection-select-list. But I'd like to show them in the
format "4.1.07" and not in the format "Thu Jan 04 00:00:00 +0100 2007".

How can I do this?

Thanks
Pascal
This topic is locked and can not be replied to.