Doesn't work with Datestamp
Bevan - September 24, 2007 - 09:40
| Project: | Views 'Group-By' Pack |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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).

#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.