8000 Fix readme typo · laravel-shift/laravel-timezones@e85a446 · GitHub
[go: up one dir, main page]

Skip to content

Commit e85a446

Browse files
committed
Fix readme typo
1 parent 6fee3a0 commit e85a446

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)
0