Hi Ibon,

Please try adding this piece of Javascript before the datepicker is
loaded, I think it might help:

https://github.com/eternicode/bootstrap-datepicker/blob/master/js/locales/bootstrap-datepicker.es.js

Warm regards,
Ignacio

El 22-01-2015 a las 10:19, Ibon Castilla escribió:
> Hi everybody,
> 
> I'm experiencing some trouble with bootstrap-datepicker
> (http://hobocentral.net/tagdef/hobo_bootstrap_ui/hobo_bootstrap_ui/bootstrap-datepicker)
> 
> I have tried different syntax in application.dryml but some options
> are (apparently) being ignored. My actual code at application.dryml is:
> 
> <def tag='input' for='Date'>
>   <bootstrap-datepicker language='es' autoclose='false'
> format='dd/mm/yyyy)'/>
> </def>
> 
> * Both "autoclose" and "format" work fine.
> * "language" is being ignored completely.
> 
> On the little research I've done on this, seems that the language
> stuff is taken from Javascript, like in this sandbox:
> http://eternicode.github.io/bootstrap-datepicker/?markup=input&format=&weekStart=&startDate=&endDate=&startView=0&minViewMode=0&todayBtn=false&clearBtn=false&language=en&orientation=auto&multidate=&multidateSeparator=&keyboardNavigation=on&forceParse=on#sandbox
> 
> Before going any further, I would like to know if anyone in this list
> has faced this issue with bootstrap-datepicker previously, and if so,
> if he/she would be so kind to give me a tip about it :)
> 
> Best regards, Ibon.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to