I found this blog post regarding setting Datepicker default options:
http://vhochstein.wordpress.com/2010/09/18/activescaffold-using-dates-with-jquery/
When testing it I can get it to work on a controller level:
conf.columns[:founded_at].options = {'date:firstDay' => 1}
But I can not get it to work as a default option set in the locale file,
nothing happens:
en:
active_scaffold:
date_picker_options:
firstDay: 1
Is it not possible to set this globally, or should it be configured in
another way?
I'm using Rails 3.1.8 and AS 3.2.12.
Br,
Jonas
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/activescaffold/-/whoYFnK-BD8J.
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/activescaffold?hl=en.