Skip to content

Commit 4375355

Browse files
committed
Update README.md
1 parent b341afc commit 4375355

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ to the require section of your `composer.json` file.
2525
Usage
2626
-----
2727

28-
Once the extension is installed, simply use it in your code by :
28+
Once the extension is installed, simply use it in your code:
2929

3030
```php
3131
<?= \nkovacs\datetimepicker\DateTimePicker::widget([
@@ -60,5 +60,7 @@ or just a timepicker:
6060
```
6161

6262
The widget will load the moment locale file for `Yii::$app->language` if it can find it.
63+
6364
It will also use `Yii::$app->formatter->dateFormat`, `Yii::$app->formatter->timeFormat` or `Yii::$app->formatter->datetimeFormat` depending on `type`.
64-
Both can be overriden manually using the `language` and `format` options.
65+
66+
Both can be overriden using the `language` and `format` options.

0 commit comments

Comments
 (0)