We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1789
    • 2 Posts
    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
      • 3749
      • 24,544 Posts
      It sounds like you want publishedon. pub_date gets filled when you set a future date (Publish Date) when the doc will be published.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting