OK, I'll check it out. Do datetime fields work? I presume they're just as broken...
Bryan On Mon, Nov 19, 2012 at 6:05 PM, tonym <[email protected]> wrote: > Thanks Bryan, > I've tried installing delocalize, but no difference. There is no datepicker > in use here. The date in the example is a standard rails date prompt, and > that works fine anyway. It is the two :time fields that get > HashWithIndifferentAccess. And only on create - editing works fine on those > fields too. > > Thanks, Anthony. > > > > On Monday, November 19, 2012 10:43:51 PM UTC, Bryan Larsen wrote: >> >> The big difference with pre5 is that the hobo-jquery-ui datepicker now >> respects date.formats.default in your internationalization settings. >> Try installing the delocalize gem to see if that helps. >> >> Bryan >> >> On Mon, Nov 19, 2012 at 5:25 PM, tonym <[email protected]> wrote: >> > Not sure if this is a bug in pre5, but since I upgraded I'm getting this >> > on >> > all my time fields, on 'create's only. >> > Date/Time fields are working fine, and editing time fields works fine >> > too. >> > But if I create a new record from any form with a time field in it, the >> > database stores (e.g.): >> > !ruby/hash:ActiveSupport::HashWithIndifferentAccess year: '2012' month: >> > '11' >> > day: '19' hour: '22' minute: '03' >> > in the time fields. >> > >> > Some of these forms are very simple, no validation. >> > e.g. >> > >> > fields do >> > name :string >> > event_date :date >> > start_time :time >> > end_time :time >> > timestamps >> > end >> > >> > with standard hobo permissions and nothing else in the model. >> > >> > On hobo 2.0.0 pre5 rails 3.2.8 >> > Any thoughts? >> > >> > Cheers, Anthony. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Hobo Users" group. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msg/hobousers/-/i7UbUg7oJK4J. >> > 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/hobousers?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/hobousers/-/AQyOx8xvYGcJ. > > 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/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
