From 4b191ef548a2c738cbe9d1abc9ea2cab782cf74f Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 8 Mar 2016 20:18:30 -0800 Subject: [PATCH] fix wrong calling of from_epoch --- bin/debbugs-loadsql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5