mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 05:08:42 +08:00
Fix link in docs [skip ci]
This commit is contained in:
@@ -115,7 +115,7 @@ specified via [[yii\validators\DateValidator::timestampAttribute|timestampAttrib
|
|||||||
- `timestampAttribute`: the name of the attribute to which this validator may assign the UNIX timestamp
|
- `timestampAttribute`: the name of the attribute to which this validator may assign the UNIX timestamp
|
||||||
converted from the input date/time. This can be the same attribute as the one being validated. If this is the case,
|
converted from the input date/time. This can be the same attribute as the one being validated. If this is the case,
|
||||||
the original value will be overwritten with the timestamp value after validation.
|
the original value will be overwritten with the timestamp value after validation.
|
||||||
See ["Handling date input with the DatePicker"](widget-jui#datepicker-date-input) for a usage example.
|
See ["Handling date input with the DatePicker"](https://github.com/yiisoft/yii2-jui/blob/master/docs/guide/topics-date-picker.md) for a usage example.
|
||||||
|
|
||||||
Since version 2.0.4, a format and timezone can be specified for this attribute using
|
Since version 2.0.4, a format and timezone can be specified for this attribute using
|
||||||
[[yii\validators\DateValidator::$timestampAttributeFormat|$timestampAttributeFormat]] and
|
[[yii\validators\DateValidator::$timestampAttributeFormat|$timestampAttributeFormat]] and
|
||||||
|
|||||||
Reference in New Issue
Block a user