We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33114
    • 518 Posts
    I noticed that when I use these parameters
    &extenders=`dateFilter` &dateSource=`createdon`
    to filter by GET parameters, server time offset is ignored. Say, my offset is 11 hours, I have a news post that is dated 27-12-2007 10:14 (with offset added) - it won’t be listed in Ditto output where year=2007&month=12&day=27, because the date stored in createdon is 26-12-2007 23:14.

    I tried to look through dateFilter.extender.inc.php but haven’t find any way to fix this.

    Mark or anybody? Can u help?:)
      http://modx.ru - российская поддержка MODx
      http://newscup.ru - экспериментальный проект
      http://yentsun.com - персональный сайт
      • 18397
      • 3,250 Posts
      What version of Ditto are you using? This should have been fixed in 2.1b3.
        • 33114
        • 518 Posts
        Mark, I’ve just upgraded Ditto to 2.1b3, but still no effect. Here take a look:
        - http://s31183.gridserver.com/news?year=2008&month=01&day=18 - works fine, there is a news post
        - http://s31183.gridserver.com/news?year=2008&month=01&day=22 - no posts in the output, but there is actually a post dated 22.01.2008 10:20, the DittoCal (to the right) sees it. The server offset is +11 hours
          http://modx.ru - российская поддержка MODx
          http://newscup.ru - экспериментальный проект
          http://yentsun.com - персональный сайт
          • 18397
          • 3,250 Posts
          It seems the time offset is not saved after it is applied. Please file a bug report for this with the milestone marked Ditto 2.1.