ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Date format won't accept ATOM formatted date

November 27, 2012 6:55pm

Subscribe [1]
  • #1 / Nov 27, 2012 6:55pm

    nrackleff

    1 posts

    I am using Feed Parse to pull in some XML. The PostingDate field comes through as “2012-11-27T00:00:00-07:00”, which I believe is an atom format. When I use

    {PostingDate format="%M"}
    and
    {PostingDate format="%d"}

    in my template, it defaults to Dec 31 as if it can’t understand the dates. What format does a date need to be in for the format function to parse it?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases