• december items in feeds result in null

    By thomas kuhn 2 decades ago

    when parsing items where the pudate/ created is december (dec) exception will occur.



    the template match in the all.xsl file for "xsl:template mode="rfc2822-w3cdtf" match="*"" will not find any date that contains dec because the test condition is testing for "DEV" instead of "DEC"



    can you confirm this solution ?



    replace "dev" with "dec" in test contion ->

    <xsl:when test="$m-temp='dec'">

       &lt;xsl:value-of select=&quot;'12'&quot;/&gt;<br/>
    

    </xsl:when>

    • confirmed

      By Lance Spellman 2 decades ago

      Thanks for identifying the bug AND the solution. I'll update the template and post.