Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrna committed Jun 13, 2015
1 parent 536563e commit 25291e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ use mrlco\datepicker\Datepicker;
'attribute' => 'date',
'template' => '{addon}{input}',
'clientOptions' => [
'format' => 'yyyy/mm/dd'
'format' => 'YYYY/MM/DD'
]
]);?>
```
Expand All @@ -59,7 +59,7 @@ use mrlco\datepicker\Datepicker;
'inline' => true,
'template' => '<div class="well well-sm" style="background-color: #fff; width:250px">{input}</div>',
'clientOptions' => [
'format' => 'yyyy/mm/dd'
'format' => 'YYYY/MM/DD'
]
]);?>
```
Expand All @@ -74,7 +74,7 @@ use mrlco\datepicker\Datepicker;
'value' => '1394/03/23',
'template' => '{addon}{input}',
'clientOptions' => [
'format' => 'yyyy/mm/dd'
'format' => 'YYYY/MM/DD'
]
]);?>
```
Expand Down

2 comments on commit 25291e6

@majidiyan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extension has a fatal error
PHP Fatal Error – yii\base\ErrorException
Class 'mrlco\datepicker\DatePickerAsset' not found
mob : 09363447457
Ali Majidiyan

@mehrna
Copy link
Member Author

@mehrna mehrna commented on 25291e6 Aug 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the correct way to load the class is to use DatepickerAsset instead of DatePickerAsset!

Please sign in to comment.