Skip to content

Commit 9d665f6

Browse files
Merge pull request #1 from erjanmx/fix-readme-typo
Fix readme typo
2 parents 6fee3a0 + e85a446 commit 9d665f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Many developers are used to assign Carbon instances to date attributes:
121121
$model->published_at = Carbon::create($request->published_at);
122122
```
123123

124-
**This can lead to unexpected behavior** because the assigned Carbon instance will default to the `UTC` timezone, wheras the provided value was probably meant for another timezone. The datetime string will be stored as-is without shifting its timezone accordingly first.
124+
**This can lead to unexpected behavior** because the assigned Carbon instance will default to the `UTC` timezone, whereas the provided value was probably meant for another timezone. The datetime string will be stored as-is without shifting its timezone accordingly first.
125125

126126
In order to prevent this, it is recommended to let the Cast do the heavy lifting:
127127

0 commit comments

Comments
 (0)