Skip to content

Commit

Permalink
Make use of timezone parameter in CakeTime::dayAsSql()
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Crowe committed Oct 30, 2013
1 parent 525efcb commit 00c5e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/CakeTime.php
Expand Up @@ -460,7 +460,7 @@ public static function daysAsSql($begin, $end, $fieldName, $timezone = null) {
* @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);
}

/**
Expand Down

0 comments on commit 00c5e88

Please sign in to comment.