diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index b306076..a5ff5b6 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -443,6 +443,7 @@ }, value: '', lang: 'en', + rtl: false, format: 'Y/m/d H:i', formatTime: 'H:i', @@ -800,6 +801,9 @@ if (options.weeks) { datetimepicker.addClass('xdsoft_showweeks'); } + if (options.rtl) { + datetimepicker.addClass('xdsoft_rtl'); + } datetimepicker.addClass('xdsoft_' + options.theme); datetimepicker.addClass(options.className);