> article->approved is set to 2003-03-17 16:21:15 
> and article->revised is set to 2003-03-17 17:40:33

> This is because of the check 
> if (($article->revised) < ($article->approved)) {return 1;}
> 
> and if I check $article->approved it gives me 934896663
> and               $article->revised gives:           933339335
> which explains the mistake....
> 
> so how does midgard deal with date/time fields in mysql?

Approve and revised dates are created with Mysql Now() function.

Piotras

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

Reply via email to