Active
Project:
Date
Version:
7.x-2.5
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2012 at 09:56 UTC
Updated:
14 Jun 2012 at 09:56 UTC
Hi,
I'm using Entity API to create a custom entity which contains a timestamp property. I need to create a view which exposes filters on the timestamp. I would like it to be select components (what does Date in standard fashion).
But I can't get it to work.
I've defined my SQL field as int in hook_schema and set it to a type of date in hook_entity_property_info.
But in Views, exposed filters are always rendered as text field, I don't see the option to get select with year, month, days, etc. items.
I've found this recent article but it seems that hook_date_api_tables and hook_date_api_fields are only available on D6 version of Date module.
Anyone knows how this can be achieved?
Thanks,
Jérémy