mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 22:09:48 +08:00
Added parameter to define if checking for 'date' or 'dateTime' and updated parseDateValueIntl($value, $format) to facilitate this validation based on defined type. Added unit tests to for validating dateTime values when using short format validation. close #10778
Yii PHP Framework Version 2
This is the core framework code of Yii 2.
This repository is a read-only git subsplit of https://github.com/yiisoft/yii2. Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.
Installation
The preferred way to install the Yii framework is through composer.
Either run
composer global require "fxp/composer-asset-plugin:~1.1.1"
composer require yiisoft/yii2
or add
"yiisoft/yii2": "~2.0.0",
to the require section of your composer.json.