Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### 2.15.0
* Adds the ability to pass localization to the date picker.
### 2.14.1
* Fixes bug with flat-query multi db query generation
### 2.14.0
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
refine-rails (2.14.1)
refine-rails (2.15.0)
rails (>= 6.0)

GEM
Expand Down Expand Up @@ -105,7 +105,7 @@ GEM
mocha (2.7.1)
ruby2_keywords (>= 0.0.5)
mysql2 (0.5.6)
net-imap (0.5.8)
net-imap (0.5.9)
date
net-protocol
net-pop (0.1.2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
data-refine--date-locale-value="<%= I18n.locale %>"
data-refine--date-date-format-value="<%= I18n.t("refine.date.formats.moment") %>"
data-refine--date-datetime-format-value="<%= I18n.t("refine.time.formats.moment") %>"
data-refine--date-picker-locale-value="<%= I18n.t("refine.daterangepicker").deep_transform_keys { |k| k.to_s.camelize(:lower) }.to_json %>"
>
<input
class="refine--input"
Expand Down
1 change: 1 addition & 0 deletions app/views/refine/inline/inputs/_date_picker.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
data-refine--date-locale-value="<%= I18n.locale %>"
data-refine--date-date-format-value="<%= I18n.t("refine.date.formats.moment") %>"
data-refine--date-datetime-format-value="<%= I18n.t("refine.time.formats.moment") %>"
data-refine--date-picker-locale-value="<%= I18n.t("refine.daterangepicker").deep_transform_keys { |k| k.to_s.camelize(:lower) }.to_json %>"
>
<input
class="refine--input"
Expand Down
2 changes: 1 addition & 1 deletion lib/refine/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Refine
module Rails
VERSION = "2.14.1"
VERSION = "2.15.0"
end
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clickfunnels/refine-stimulus",
"version": "2.14.1",
"version": "2.15.0",
"description": "Refine is a flexible query builder for your apps. It lets your users filter down to exactly what they're looking for. Completely configured on the backend.",
"browserslist": [
"defaults",
Expand Down