Browse Source

Fixed daterangepicker for dashboards

Andrew Kane 8 năm trước cách đây
mục cha
commit
aca592a437
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/views/blazer/dashboards/show.html.erb

+ 3 - 1
app/views/blazer/dashboards/show.html.erb

@@ -97,7 +97,9 @@
              "Last 7 Days": [dateStr(6), dateStr()],
              "Last 30 Days": [dateStr(29), dateStr()]
             },
-            format: format,
+            locale: {
+              format: format
+            },
             startDate: dateStr(29),
             endDate: dateStr(),
             opens: "left"