Permalink
Browse files

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

  • Loading branch information...
bcrowe committed Oct 30, 2013
1 parent 525efcb commit 00c5e88570377efed7bb75f6bbfec84f365c1817
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/CakeTime.php
@@ -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);
}
/**

0 comments on commit 00c5e88

Please sign in to comment.