Skip to content

Commit 19a131a

Browse files
Merge branch 'release/1.0.4'
2 parents 079c870 + fbd48ae commit 19a131a

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66

77
## Unreleased
88

9+
## 1.0.4 (2018-08-26)
10+
11+
### Changed
12+
13+
- Updated readme (yes, again 🤓)
14+
915
## 1.0.3 (2018-08-26)
1016

1117
### Changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@
1010
[![Follow @sebastiaanluca on Twitter][twitter-profile-badge]][link-twitter]
1111
[![Share this package on Twitter][twitter-share-badge]][link-twitter-share]
1212

13-
__Sets the date of an attribute to the current date and time if an inputted counterpart boolean attribute is true-ish.__
14-
15-
### Example
16-
1713
Say you've got a registration page for users where they need to accept your terms and perhaps can opt-in to certain features using checkboxes. With the new(-ish) GDPR privacy laws, you're somewhat required to not just keep track of the fact *if* they accepted those (or not), but also *when* they did.
1814

19-
**This package automatically converts those boolean fields to dates so you always know when something was accepted.**
15+
**This package automatically converts those boolean fields to dates so you always know when something was accepted or changed.**
16+
17+
### Example
2018

2119
User registration controller:
2220

2321
```php
24-
$input = $request->input();
22+
$input = request()->input();
2523

2624
$user = User::create([
2725
'has_accepted_terms_and_conditions' => $input['terms'],

0 commit comments

Comments
 (0)