File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ f.input :date_to, as: :date_time_picker
4444```
4545
4646Input can be "as : string " or any other type compatible with "input type=text"
47- Main point is to set for ferst input-pair wrapper-class
47+ Main point is to set for first input-pair wrapper-class
4848
4949``` wrapper_html: { class: 'datetime_preset_pair' } ```
5050
5151input name('date_from' and 'date_to') can be named whatever your need
5252
53- By default inputs fills with only date("2015-06-12 "). If you need time add
53+ By default inputs are filled with date("yyyy-mm-dd "). If you need time add
5454
5555``` data: { show_time: 'true' } ```
5656
@@ -63,7 +63,7 @@ You can set global defaults in your active_admin.js like this:
6363# Today false: 2015 - 06 - 12 - 2015 - 06 - 13
6464$ .fn .date_range_ext_preset .defaults .date_to_human_readable = true
6565
66- # Displa time
66+ # Display time
6767# Today: 2015 - 06 - 12 00 : 00 : 00 - 2015 - 06 - 13 00 : 00 : 00
6868# Today with human_readable= true: 2015 - 06 - 12 00 : 00 : 00 - 2015 - 16 - 12 23 : 59 : 59
6969$ .fn .date_range_ext_preset .defaults .show_time = true
You can’t perform that action at this time.
0 commit comments