We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1061
    • 81 Posts
    I've got a snippet that cause strange things
    [[+publishedon:strtotime:date=`%a, %d %b %Y %H:%M:%S %z`:cdata]]
    No output date and insert text from introtext.

    Work normaly with this
    [[+publishedon:strtotime:date=`%Y %H:%M:%S`:cdata]]

    snippet:
    <item>
      <title>[[+pagetitle:htmlent]]</title>
      <description>
        [[+introtext:default=`[[+content:ellipsis=`600`]]`:cdata]]
      </description>
      <link>[[++site_url]][[~[[+id]]]]</link>
    <pubDate>[[+publishedon:strtotime:date=`%a, %d %b %Y %H:%M:%S %z`:cdata]]</pubDate>
      <guid isPermaLink="false">[[++site_url]][[~[[+id]]]]</guid>
      <dc:creator>
          author
      </dc:creator>
    </item>



    Modx 2.2.6
    getResources 1.6

    Windows Server 2008 R2
    IIS: 7.5
    PHP: 5.4.9
    [ExtensionList]
    extension=php_mysql.dll
    extension=php_mysqli.dll
    extension=php_mbstring.dll
    extension=php_gd2.dll
    extension=php_gettext.dll
    extension=php_curl.dll
    extension=php_exif.dll
    extension=php_xmlrpc.dll
    extension=php_openssl.dll
    extension=php_soap.dll
    extension=php_pdo_mysql.dll
    extension=php_pdo_sqlite.dll
    extension=php_imap.dll
    extension=php_tidy.dll
    extension=php_imagick_nts.dll
    extension=php_pdo_sqlsrv.dll
    extension=php_sqlsrv.dll

    MySQL: 5.0.77-log
    collation: utf8_general_ci