diff --git a/ui/src/components/date/QDate.js b/ui/src/components/date/QDate.js index c076c2238ec..f2132137d57 100644 --- a/ui/src/components/date/QDate.js +++ b/ui/src/components/date/QDate.js @@ -937,7 +937,7 @@ export default createComponent({ const newHash = year + '/' + pad(month) + '/01' if (newHash !== viewModel.value.dateHash) { - monthDirection.value = (viewModel.value.dateHash < newHash) === direction.value + monthDirection.value = (viewModel.value.dateHash < newHash) === ($q.lang.rtl !== true) ? 'left' : 'right' if (year !== viewModel.value.year) { yearDirection.value = monthDirection.value }