From: Don Armstrong Date: Wed, 9 Mar 2016 04:18:30 +0000 (-0800) Subject: fix wrong calling of from_epoch X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4b191ef548a2c738cbe9d1abc9ea2cab782cf74f;p=debbugs.git fix wrong calling of from_epoch --- diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index 673ec52a..1dd7a6aa 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -324,7 +324,7 @@ sub add_debinfo { } 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);