Open wyqinac opened 4 years ago
hi wyqinac!, i`ve been having some issues too!, for locale yo must add to your files momment.js 'languaje' in my case momment_es.js and pass the option locale:'es' <-- or your languaje-->
@eveperalta Could you please provide an example of how to set up locales so that tempudominus will use them? I cannot get them work either...
Hi! Hoy you have to find the momment file on your languaje add to your script tag at the end of the file then yo can add in the
In my case a took thr momment.js code for spanish created a file named momment_es.js (this specific code gives every format to your code, days months languaje etc) add to my scripts in the html and then added to the tempusdominus config:
You let me know if it was usefull or if you need the documents to do it
El dom., 12 abr. 2020 4:36 a. m., Anton Bagdatyev (Tonix) < notifications@github.com> escribió:
@eveperalta https://github.com/eveperalta Could you please provide an example of how to set up locales so that tempudominus will use them? I cannot get them work either...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tempusdominus/bootstrap-4/issues/307#issuecomment-612582419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7VONALQAIAEBJJWTDNSCTRMF4PLANCNFSM4KUO2MNQ .
@eveperalta Thank you for your reply!
How about ES6 module imports? How can I wire up everything so that locales work when using ES6 modules?
Thank you!
Sorry friend the truth is i have no idea how does it works in ES6, however i think it should work in the same way connect you files as it is done for that dev language, momment and tempusdominus both are js so it should work anyway . You could also try and review both doc's
Hope you can get to solve this
El dom., 12 abr. 2020 4:59 p. m., Anton Bagdatyev (Tonix) < notifications@github.com> escribió:
@eveperalta https://github.com/eveperalta Thank you for your reply!
How about ES6 module imports? How can I wire up everything so that locales work when using ES6 modules?
Thank you!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tempusdominus/bootstrap-4/issues/307#issuecomment-612675105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7VONGLU6WFHFBDARO6RMTRMITSLANCNFSM4KUO2MNQ .
OK, thanks!
Hi all,
at start please be patient as I am programming self-learning amateur. When I configured it on a simple site, the picker works great with all the options I set(locale, disabledHours, stepping, etc.) but then when I import the label to my template, it starts ignoring all the options. I am using a free bootstrap template so I don't have a complex overview of all the files and I am not sure what could cause that it ignores these options. Can please someone more experienced point me, where should I look to be able to set the correct locale and so on? I am not even sure if this can be blocked by some other Javascript or css files.