$(document).ready(function () {
    var locale = 'en' !== LOCALE ? LOCALE : '';

    var init;
    (init = function () {
        $('input[type="text"].datetime').each(function () {
            var $input = $(this);
            $input.datetimepicker($.extend({}, $.datepicker.regional[locale], $.timepicker.regional[locale]));
        });
    })();

    $(document).bind('ajaxSuccess', init);
});

$(document).ready(function () {
    var locale = 'en' !== LOCALE ? LOCALE : '';

    var init;
    (init = function () {
        $('input[type="text"].datetime').each(function () {
            var $input = $(this);
            $input.datetimepicker($.extend({}, $.datepicker.regional[locale], $.timepicker.regional[locale], {
                dateFormat: 'dd.mm.yy'
            }));
        });
    })();

    $(document).bind('ajaxSuccess', init);
});

Configure date picker date format.
Configure date picker date format.
