Merge pull request #309 from psyafter/patch-1

Add rtl layout support
This commit is contained in:
Valeriy 2015-08-19 13:52:14 +05:00
commit 2c0bc4d70d

View File

@ -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);