Revision #7 has been created by Kartik V on May 21, 2014, 12:57:10 PM with the memo:
Updated description
« previous (#6)
Changes
Title
unchanged
Using the yii2-datecontrol extension along with yii2-detail-view widget
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
yii2, detail, detail-view, date, format, datecontrol, extension, datepicker, time, datetime
Content
changed
[...]
The [yii2-detail-view](http://demos.krajee.com/detail-view) extension, enhances the yii DetailView and enables you to toggle between VIEW and EDIT modes with other features.
This article explains you how you combine both. That is, how you can **enable date formats for display and save using the DateControl extension within yii2-detail-view**.
> NOTE: To setup the yii2-detail-view controller and view
to work with yii2-detail-view extension for update and delete, you can refer [this wiki](http://www.yiiframework.com/wiki/691/editing-deleting-and-viewing-model-data-with-the-yii2-detail-view-extension/).
Scenario
--------
Let's assume you want to display dates as "d-m-Y" format and save dates as "Y-m-d" format to db.[...]