I have created a view using EntityFieldQuery.. I am using fields and NOT rendered entity
So I tried adding date fields like Event: Start Event:End etc.. but this fields are not getting printed.. I see blank
This is the error I see
Warning: date_timezone_set() expects parameter 1 to be DateTime, boolean given in format_date() (line 2014
This is shown twice for each record (for one date field in the view)

I am trying to create an upcoming events block using views... is there any other way to do that?
regards
Ajjaykummar

Comments

iajay’s picture

ANy replies? Is this an issue with this module or http://drupal.org/project/efq_views module
I tried adding node post date using normal node entity view... the date shows...
so think this is a bug in the Salsa Entity module...
any directions would be helpfull
regards

berdir’s picture

That's because the date fields coming from salsa look like this: "Fri Mar 29 2013 13:00:00 GMT-0000 (UTC)", but the used field handlers expect UNIX timestamps.

This needs a custom views handler for them, that transforms the date correctly for Drupal to use.

iajay’s picture

thanks for the reply....hope some one writes the custom views handler..
regards