Make use of timezone parameter in CakeTime::dayAsSql()

This commit is contained in:
Bryan Crowe 2013-10-29 20:29:01 -04:00
parent 525efcb808
commit 00c5e88570

View file

@ -460,7 +460,7 @@ class CakeTime {
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#TimeHelper::dayAsSql
*/
public static function dayAsSql($dateString, $fieldName, $timezone = null) {
return self::daysAsSql($dateString, $dateString, $fieldName);
return self::daysAsSql($dateString, $dateString, $fieldName, $timezone);
}
/**