So, I’ve been racking my brain trying to figure out why my ditto call to the pub_date isn’t working when I finally thought to check the mysql database. I found that the pub_date column for all my entries is 0, which explains why I’m getting December 31, 1969 for all the pub_dates on all my content. I notice there’s another column called publishedon... Is there something weird going on with my installation? Or is this functioning as expected?
I’m using modx2b5 and Ditto 2.1.
Thanks,
Anthony
It sounds like you want publishedon. pub_date gets filled when you set a future date (Publish Date) when the doc will be published.