Hi,
using nadmin from snapshot

here the code:

<?
$promo=mgd_list_topic_calendar_all($id);

while ($promo->fetch()){

    ...blablabla...
}
?>

Here's the problem :

say today is 27 Sep 2001

I add an article to Promo category and set approval stardate: today, 
enddate: future (no matter). $promo object is not created (mgd_errstr = 
MGD_ERR_OK). But whet I set stardate in future everything works fine but 
the point is that articles should appear only between start and end dates.

What the hell is gooing on? I quiote in a dead end :-)

Cheers
Solt

BTW: date formating object properties dont work when you set locale:
<?
setlocale ("LC_TIME","pl_PL");
priint $object->aldate;
?>
result ie.: 27 September 2001 (should be 27 Wrzesien' 2001, of course :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to