From 34538a62f4ac8bc6db41580058fdd040abaa3183 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 23 Feb 2006 02:30:19 +0000 Subject: new calendar completely integrated git-svn-id: http://piwigo.org/svn/trunk@1051 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/calendar_weekly.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/calendar_weekly.class.php') diff --git a/include/calendar_weekly.class.php b/include/calendar_weekly.class.php index 4ae65e076..b85a682d5 100644 --- a/include/calendar_weekly.class.php +++ b/include/calendar_weekly.class.php @@ -72,7 +72,7 @@ function get_date_where($requested, $max_levels=3) if (isset($requested[0]) and $requested[0]!='any') { $y = $requested[0]; - $res = " AND $this->date_field BETWEEN '$y-01-01' AND '$y-12-31'"; + $res = " AND $this->date_field BETWEEN '$y-01-01' AND '$y-12-31 23:59:59'"; } if (isset($requested[1]) and $requested[1]!='any') -- cgit v1.2.3