daterangepicker rus language

3 replies · opened Sep 19, 2022

SSemicolon WebSTAFFSep 20, 2022

Hello,

Consider using the following settings in the Date/Time Picker JS Initialization Codes:
[ch_pre type="js"]"locale": {
"format": "MM/DD/YYYY",
"separator": " - ",
"applyLabel": "Apply",
"cancelLabel": "Cancel",
"fromLabel": "From",
"toLabel": "To",
"customRangeLabel": "Custom",
"weekLabel": "W",
"daysOfWeek": [
"Su",
"Mo",
"Tu",
"We",
"Th",
"Fr",
"Sa"
],
"monthNames": [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"firstDay": 1
},[/ch_pre]

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Kkostys2Sep 21, 2022

Sorry, I'm not sure where to use this code.

in the Date/Time Picker JS Initialization Codes

SSemicolon WebSTAFFSep 22, 2022

Hello,

This is how your codes will look like:
[ch_pre type="js"]jQuery('.cleaning-date').daterangepicker({
"buttonClasses": "button button-rounded button-mini nott ls0 fw-semibold",
"applyClass": "button-color m-0 ms-1",
"cancelClass": "bg-danger m-0 text-light",
singleDatePicker: true,
startDate: moment().startOf('hour'),
minDate: moment().startOf('date'),
timePicker: false,
timePickerSeconds: false,
locale: {
"format": 'DD/MM/YYYY h:mm a',
"separator": " - ",
"applyLabel": "Apply",
"cancelLabel": "Cancel",
"fromLabel": "From",
"toLabel": "To",
"customRangeLabel": "Custom",
"weekLabel": "W",
"daysOfWeek": [
"Su",
"Mo",
"Tu",
"We",
"Th",
"Fr",
"Sa"
],
"monthNames": [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"firstDay": 1,
},
timePickerIncrement: 10
});[/ch_pre]

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard