--- lib/Grep/Import/ScrapBook.pm 2007/07/15 15:16:36 176 +++ lib/Grep/Import/ScrapBook.pm 2007/08/11 17:41:42 177 @@ -130,7 +130,7 @@ #time_zone => 'UTC', ); } else { - warn "can't parse date from ", $hash->{id}; + die "can't parse date from ", $hash->{id}; } my $i = Grep::Model::Item->new( current_user => $owner ); @@ -139,9 +139,11 @@ title => $hash->{title}, link => $hash->{source}, content => $content, - created_on => $hash->{id}, +# created_on => $dt, ); + $i->set_created_on( $dt ); + if ( ! $ok ) { Jifty->log->error( $msg ); $stats->{failure}++;