Navigation Menu

Skip to content

Commit

Permalink
merge r19419 from branch 2.4 to trunk
Browse files Browse the repository at this point in the history
bug 2806 fixed: only use the day to compare from and to, and not the time.



git-svn-id: http://piwigo.org/svn/trunk@19420 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Dec 13, 2012
1 parent 703465f commit 4a93241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/category_cats.inc.php
Expand Up @@ -355,7 +355,7 @@
{
$info = '';

if ($from == $to)
if (date('Y-m-d', strtotime($from)) == date('Y-m-d', strtotime($to)))
{
$info = format_date($from);
}
Expand Down

0 comments on commit 4a93241

Please sign in to comment.