How getTimestamp of an entry ?

You need to be logged in to post messages in the forums. New users may register here.

Guillaume Kulakowski

Member since:
09 January 2008

Posts: 21

Tuesday 14 July 2009 6:25:09 am

Hi Damien,

I use your extension for generate a list. The problem is that I can't access to the published date. $item.published.date give me a DateTime object with no public property...

My blog : http://www.llaumgui.com
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Up

Francesco Trucchia

Member since:
09 January 2008

Posts: 3

Wednesday 22 July 2009 10:14:22 am

We have the same problem.

The problem is that the object DateTime returned from ezcFeedDateElement doesn't have public properties that can be accessed.

We wrote a little workaround:




































--
Francesco Trucchia
CTO

ft@ideato.it
Skype: trucchia

ideato srl - web ideas for sale
http://www.ideato.it

Up

Damien Pobel

Member since:
09 January 2008

Posts: 28

Friday 23 October 2009 2:08:10 pm

Thanks for the report and the patch, this is now fixed in trunk and in the 0.2 version.

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://ez.no/certification/verify/308412
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Up

You need to be logged in to post messages in the forums. New users may register here.