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
44
44
```
45
45
46
46
Input 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
48
48
49
49
``` wrapper_html: { class: 'datetime_preset_pair' } ```
50
50
51
51
input name('date_from' and 'date_to') can be named whatever your need
52
52
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
54
54
55
55
``` data: { show_time: 'true' } ```
56
56
@@ -63,7 +63,7 @@ You can set global defaults in your active_admin.js like this:
63
63
# Today false: 2015 - 06 - 12 - 2015 - 06 - 13
64
64
$ .fn .date_range_ext_preset .defaults .date_to_human_readable = true
65
65
66
- # Displa time
66
+ # Display time
67
67
# Today: 2015 - 06 - 12 00 : 00 : 00 - 2015 - 06 - 13 00 : 00 : 00
68
68
# Today with human_readable= true: 2015 - 06 - 12 00 : 00 : 00 - 2015 - 16 - 12 23 : 59 : 59
69
69
$ .fn .date_range_ext_preset .defaults .show_time = true
You can’t perform that action at this time.
0 commit comments