Tuesday 25 July 2006 10:47:05 am
I doubt the documentation is right about that. The published date only is initialized when the object gets published for the first time (it's still 0). The modified time is changed every time a new version is published. See kernel/content/ezcontentoperationcollection.php function setObjectStatusPublished, starting from line 184 on trunk rev. 16527
if ( $object->attribute( 'published' ) == 0 )
{
$object->setAttribute( 'published', mktime() );
}
$object->setAttribute( 'modified', mktime() );
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
|