mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Make use of timezone parameter in CakeTime::dayAsSql()
This commit is contained in:
parent
525efcb808
commit
00c5e88570
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue