zpaulovics / datetimepicker-rails

A date and time picker for Twitter Bootstrap in Rails using Simple Form
MIT License
174 stars 80 forks source link

Custom locale #59

Open ghost opened 9 years ago

ghost commented 9 years ago

How can I add a custom locale to datetimepicker (such as a Korean language or Hercsex language locale?) ?

ghost commented 9 years ago

Nevermind, I just created directory 'locales' in my javascripts folder and created there locale js files, then just call them in application.js like so

//= require locales/bootstrap-datetimepicker.kr.js