File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ to the require section of your `composer.json` file.
25
25
Usage
26
26
-----
27
27
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:
29
29
30
30
``` php
31
31
<?= \nkovacs\datetimepicker\DateTimePicker::widget([
@@ -60,5 +60,7 @@ or just a timepicker:
60
60
```
61
61
62
62
The widget will load the moment locale file for ` Yii::$app->language ` if it can find it.
63
+
63
64
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.
You can’t perform that action at this time.
0 commit comments