fixed: RSS feeds report modified date instead of create date

This commit is contained in:
Graham Knop 2008-06-26 20:51:12 +00:00
parent 0b671837d5
commit ea42287749
3 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
7.5.14 7.5.14
- fixed: RSS feeds report modified date instead of create date
- fixed: Rich editor collateral image uploader is broken - fixed: Rich editor collateral image uploader is broken
- fixed: ems 2.0: tickets get created as badges also - fixed: ems 2.0: tickets get created as badges also
- shortcut overrides display titles instead of field names - shortcut overrides display titles instead of field names

View file

@ -120,7 +120,7 @@ sub www_view {
$subvar = {}; $subvar = {};
@$subvar{'title', 'link', 'description'} = $self->_tlsOfAsset($item); @$subvar{'title', 'link', 'description'} = $self->_tlsOfAsset($item);
$subvar->{guid} = $subvar->{link}; $subvar->{guid} = $subvar->{link};
$subvar->{pubDate} = _escapeXml($self->session->datetime->epochToMail($item->get('revisionDate'))); $subvar->{pubDate} = _escapeXml($self->session->datetime->epochToMail($item->get('creationDate')));
} elsif (ref $item eq 'HASH') { } elsif (ref $item eq 'HASH') {
foreach my $key (keys %$item) { foreach my $key (keys %$item) {
$subvar->{$key} = _escapeXml($item->{$key}); $subvar->{$key} = _escapeXml($item->{$key});

View file

@ -886,7 +886,7 @@ SQL
'link' => $postUrl, 'link' => $postUrl,
guid => $postUrl, guid => $postUrl,
description => $post->get('synopsis'), description => $post->get('synopsis'),
pubDate => $datetime->epochToMail($post->get('revisionDate')), pubDate => $datetime->epochToMail($post->get('creationDate')),
attachmentLoop => $attachmentLoop, attachmentLoop => $attachmentLoop,
userDefined1 => $post->get("userDefined1"), userDefined1 => $post->get("userDefined1"),
userDefined2 => $post->get("userDefined2"), userDefined2 => $post->get("userDefined2"),