DateTool

steelej's Avatar

steelej

Oct 01, 2013 @ 04:00 PM

Having a little trouble with DateTool and an rss feed. If you could point me in the right direction, I'd be obliged.

  1. 1 Posted by Ryan Griffith on Oct 01, 2013 @ 05:01 PM

    Ryan Griffith's Avatar

    Hi Jim,

    I believe the month symbol you are currently using would be looking for the two digit numeric value for the month. When you have a moment, try the following and let me know how it works out:

    #set ( $dateObj = $_DateTool.toDate("E, d MMM y H:m:s",$pubdate) )

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by steelej on Oct 01, 2013 @ 05:04 PM

    steelej's Avatar

    Thanks Ryan,
    I knew it was in the DateObject line, but I wasn't seeing it. Works fine.

    Jim

  3. steelej closed this discussion on Oct 01, 2013 @ 05:04 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac