We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23050
    • 1,842 Posts
    Hello,

    I’ve just updated my site to MODx v1.0 (and all snippets) and reflect doesn’t output anymore the archives. It only outputs Janvier 1970 (January 1970)

    Here is the Reflect call :
    [!Reflect? &debug=`1` &config=`wp-histwar` &targetID=`23` &getDocuments=`1` &dittoSnippetParameters=`parents:23` &id=`wp` &dateSource=`pub_date` !]


    First point : debug doesn’t show up anything
    2d point : when I change &dateSource=`pub_date` to &dateSource=`createdon`, the archives is displayed

    I check that pub_date is a valid Unix timestamp (as said by Sottwell here) and it’s ok... in most case, pub_date is equal to createdon timestamp

    Before updating, I used to run Ditto and Reflect v2.1, so I guess nothing changed in the code ?

    I don’t know where to look... If someone can help ! smiley
      • 36592
      • 970 Posts
      I believe it’s a Reflect bug...
      See this thread.
      -> http://modxcms.com/forums/index.php/topic,39145.0.html
        • 23050
        • 1,842 Posts