it's case sensitive, dateFormat :

config.columns[:date].options= {'date:dateFormat'=>"dd/M/yy "}



On Mon, Apr 8, 2013 at 9:20 PM, Gloufy <[email protected]> wrote:

> Hi,
> How to change date format and time format with datetime_picker ?
> they are this :
> time:timeformat="HH:mm:ss"
> date:dateformat="D, dd M yy"
> in the html input and i don't know how it's arrived here
>
> and when i put config.columns[:date].options= {'date:dateformat'=>"dd/M/yy
> "} in my controller it's doesn't work... it's format by defaut
>
> Thank you for your help all the time you rocks !!!!
> Gloufy
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails Gem" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/activescaffold?hl=en-US
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to