diff --git a/src/Orchard.Web/Core/Shapes/Localization/DateTimeLocalization.cs b/src/Orchard.Web/Core/Shapes/Localization/DateTimeLocalization.cs
index 1a5ca2fa3..7db738692 100644
--- a/src/Orchard.Web/Core/Shapes/Localization/DateTimeLocalization.cs
+++ b/src/Orchard.Web/Core/Shapes/Localization/DateTimeLocalization.cs
@@ -19,11 +19,6 @@ namespace Orchard.Core.Shapes.Localization {
///
int FirstDay { get; }
- ///
- /// True if right-to-left language, false if left-to-right
- ///
- bool IsRTL { get; }
-
///
/// True if the year select precedes month, false for month then year
///
@@ -88,19 +83,6 @@ namespace Orchard.Core.Shapes.Localization {
}
}
- public bool IsRTL {
- get {
- var isRTL = false;
- var t = T("isRTL: false").Text;
- var parts = t.Split(':');
- if (parts.Length == 2) {
- Boolean.TryParse(parts[1], out isRTL);
- }
-
- return isRTL;
- }
- }
-
public bool ShowMonthAfterYear {
get {
var showMonthAfterYear = false;
diff --git a/src/Orchard.Web/Modules/Orchard.jQuery/Views/DatePickerLocalization.cshtml b/src/Orchard.Web/Modules/Orchard.jQuery/Views/DatePickerLocalization.cshtml
index 3b25dc859..7db432c6e 100644
--- a/src/Orchard.Web/Modules/Orchard.jQuery/Views/DatePickerLocalization.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.jQuery/Views/DatePickerLocalization.cshtml
@@ -50,7 +50,7 @@
weekHeader: '@T("Wk")', // Column header for week of the year
dateFormat: '@dateFormat', // See format options on parseDate
firstDay: @dateTimeLocalization.FirstDay, // The first day of the week, Sun = 0, Mon = 1, ...
- isRTL: @(dateTimeLocalization.IsRTL ? "true" : "false"), // True if right-to-left language, false if left-to-right
+ isRTL: @(cultureInfo.TextInfo.IsRightToLeft ? "true" : "false"), // True if right-to-left language, false if left-to-right
showMonthAfterYear: @(dateTimeLocalization.ShowMonthAfterYear ? "true" : "false"), // True if the year select precedes month, false for month then year
yearSuffix: '@dateTimeLocalization.YearSuffix' // Additional text to append to the year in the month headers
};