}
my $sp = $s->resultset('SrcPkg')->find_or_create({pkg => $srcname});
# update the creation date if the data we have is earlier
- my $ct_date = DateTime->from_epoch($f_stat->ctime);
+ my $ct_date = DateTime->from_epoch(epoch => $f_stat->ctime);
if ($ct_date < $sp->creation) {
$sp->creation($ct_date);
$sp->last_modified(DateTime->now);