From de9fe7a61255be8b6325ab399cb6fde710e51273 Mon Sep 17 00:00:00 2001 From: Dmitriy Makarov Date: Fri, 26 Aug 2016 08:42:18 +0300 Subject: [PATCH] :book: Fix typo + use lowercase [skip ci] --- docs/guide/tutorial-core-validators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/tutorial-core-validators.md b/docs/guide/tutorial-core-validators.md index ab61538752..7073df7e63 100644 --- a/docs/guide/tutorial-core-validators.md +++ b/docs/guide/tutorial-core-validators.md @@ -148,7 +148,7 @@ specified via [[yii\validators\DateValidator::timestampAttribute|timestampAttrib [[yii\validators\DateValidator::$max|maximum]] timestamp. In case the input is optional you may also want to add a [default value filter](#default) in addition to the date validator -to ensure empty input is stored as `NULL`. Other wise you may end up with dates like `0000-00-00` in your database +to ensure empty input is stored as `null`. Otherwise you may end up with dates like `0000-00-00` in your database or `1970-01-01` in the input field of a date picker. ```php