1. Create Extension in yii2.
1. Create Extension in yii2.
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below: