From bf39e26d6cdf0823e0eb5d84cb71fbe91bf9eb73 Mon Sep 17 00:00:00 2001 From: Chris Nehren Date: Mon, 22 Sep 2008 17:37:52 +0000 Subject: [PATCH] add the epochDate field to the CS RSS template. now users can use ^D(); to create a custom date format. --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/Asset/Wobject/Collaboration.pm | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index a67a582e3..6091f0f50 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,6 @@ 7.6.0 + - added an epochDate field to the template for CS RSS items. The ^D(); + macro can then format the epoch date. - fixed: actove admin console tab isn't highlighted - fixed: Folders are cached by the client too long for visitors - added variant id template variable to product variant loop diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index 66b25791c..ffe8f195b 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -885,6 +885,7 @@ SQL 'link' => $postUrl, guid => $postUrl, description => $post->get('synopsis'), + epochDate => $post->get('creationDate'), pubDate => $datetime->epochToMail($post->get('creationDate')), attachmentLoop => $attachmentLoop, userDefined1 => $post->get("userDefined1"),