R
R
RuhHost2021-06-14 17:05:20
JavaScript
RuhHost, 2021-06-14 17:05:20

Datepicker localization new version?

Hello! Tell me, please, how to Russify the new version of Datepicker

https://wwilsman.github.io/Datepicker.js/#methods

var simple = new Datepicker('#inp-' + b[i]['name']+'',{
multiple: true
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew Hecc, 2021-06-14
@Hecc

So in the documentation there is a section https://github.com/wwilsman/Datepicker.js#localization


i18n:
months: An array of month names. 0 == January, 12 == December, etc.
weekdays: An array of weekday names. 0 == Sunday, 1 == Monday, etc.
time: An array of labels for the time picker. The first, for non-ranged time pickers. The second, for the starting time. And the third, for the ending time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question