Posted by Bevan on September 24, 2007 at 9:40am
Jump to:
| Project: | Views 'Group-By' Pack |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I was checking this out. We need something similar, but group by day, not month. It didn't work until I changed
<?php
$year = date('Y', strtotime($val));
$month = date('F', strtotime($val));
?>to
<?
$year = date('Y', $val);
$month = date('F', $val);
?>
I think you have written this module to use Date fields, and not datestamp fields, which are also available through the date field module. This could be easily checked with is_numeric($val).
Comments
#1
This is finally fixed in version 1.3. It now supports both date fields and datestamp ones.
#2
Automatically closed -- issue fixed for two weeks with no activity.