Changeset 16

Show
Ignore:
Timestamp:
02/05/06 09:48:40
Author:
miyagawa
Message:

workaround for invalid dc:date format

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm

    r15 r16  
    4444            $entry->author($e->author); 
    4545            $entry->tags([ $e->category ]) if $e->category; 
    46             $entry->date( Plagger::Date->rebless($e->issued) ) if $e->issued; 
     46            $entry->date( Plagger::Date->rebless($e->issued) ) 
     47                if eval { $e->issued }; 
    4748            $entry->link($e->link); 
    4849            $entry->id($e->id);