Skip to content

Commit f18774d

Browse files
authored
Added installation instructions
1 parent a82d0b6 commit f18774d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ $model->occurred_at = '2022-12-13 20:00:00';
2222
$model->save(); // Database value: 2022-12-13 19:00:00
2323
```
2424

25+
## Installation
26+
27+
```bash
28+
composer require whitecube/laravel-timezones
29+
```
30+
2531
## Getting started
2632

2733
The `app.timezone` configuration setting has to be set to the timezone that should be used when saving dates in the database. We highly recommend keeping it as `UTC` since it's a global standard for dates storage.
@@ -154,4 +160,4 @@ Feel free to suggest changes, ask for new features or fix bugs yourself. We're s
154160
At [Whitecube](https://www.whitecube.be) we use a lot of open source software as part of our daily work.
155161
So when we have an opportunity to give something back, we're super excited!
156162

157-
We hope you will enjoy this small contribution from us and would love to [hear from you](mailto:hello@whitecube.be) if you find it useful in your projects. Follow us on [Twitter](https://twitter.com/whitecube_be) for more updates!
163+
We hope you will enjoy this small contribution from us and would love to [hear from you](mailto:hello@whitecube.be) if you find it useful in your projects. Follow us on [Twitter](https://twitter.com/whitecube_be) for more updates!

0 commit comments

Comments
 (0)