zygimantus
7/8/2015 - 7:22 AM

JS daterangepicker example for Lithuanian language

JS daterangepicker example for Lithuanian language

$(function () {

    $('input[name="daterange"]').daterangepicker(
        {
            format: 'YYYY-MM-DD',
            locale: {
                applyLabel: 'Pateikti',
                cancelLabel: 'Atšaukti',
                fromLabel: 'Nuo',
                toLabel: 'Iki',
                customRangeLabel: 'Tinkinti',
                daysOfWeek: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'],
                monthNames: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
                firstDay: 1
            }
        });
});