Commit 8e3a8a05 authored by merlinofchaos's avatar merlinofchaos

Fix for full dates -- thanks webchick

parent 2c7eca50
...@@ -487,7 +487,7 @@ function views_handler_arg_fulldate($op, &$query, $argtype, $arg = '') { ...@@ -487,7 +487,7 @@ function views_handler_arg_fulldate($op, &$query, $argtype, $arg = '') {
$query->add_orderby(NULL, 'name', $argtype); $query->add_orderby(NULL, 'name', $argtype);
break; break;
case 'filter': case 'filter':
$query->add_where("DATE_FORMAT(FROM_UNIXTIME(node.created+$timezone), '%Y%m%%%%d') = '%s'", $arg); $query->add_where("DATE_FORMAT(FROM_UNIXTIME(node.created+$timezone), '%Y%m%%d') = '%s'", $arg);
break; break;
case 'link': case 'link':
return l(format_date($query->created, 'custom', 'F j, Y'), "$arg/$query->name"); return l(format_date($query->created, 'custom', 'F j, Y'), "$arg/$query->name");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment