Put this at the very end of environment.rb (*after* the 'end' of the
Rails::Initializer.run method):

CalendarDateSelect.format = :finnish

On Mar 16, 9:18 am, Herman Müller <[email protected]>
wrote:
> Hi Ruby Community!
>
> I use the gem CalendarDateSelect with RoR 2.2.2.
>
> Everything works fine when I use the default date-format.
>
> In environment.rb I made the gem-dependency-entry:
>
>       config.gem "calendar_date_select"
>
> But do somebody knows where I have to set the entry for the other date
> formats like :finnish, :iso_date etc.?
>
> I searched inside the internet and tried a lot of possibilities (like
> config.gem "calendar_date_select", :finnish), but nothing works:-(
>
> Thanks ahead for every possible solution!
>
> Regs
>
> Hermann
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to