Skip to content

Commit cd67c5f

Browse files
committed
Merge pull request #2 from Fivell/patch-1
Update README.md
2 parents a98fa00 + d6b571d commit cd67c5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ f.input :date_to, as: :date_time_picker
4444
```
4545

4646
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
4848

4949
```wrapper_html: { class: 'datetime_preset_pair' }```
5050

5151
input 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

0 commit comments

Comments
 (0)