From a85d8ee85f34b55fdab3013f938ae490b965f875 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 14 Oct 2025 05:00:13 -0500 Subject: more time stuff --- parseDpkgOutputIntoPB.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'parseDpkgOutputIntoPB.go') diff --git a/parseDpkgOutputIntoPB.go b/parseDpkgOutputIntoPB.go index 4567efe..645e888 100644 --- a/parseDpkgOutputIntoPB.go +++ b/parseDpkgOutputIntoPB.go @@ -126,6 +126,14 @@ func ParseDpkgOutputIntoPB(pb *zoopb.Package, all string) { t, _ := cobol.GetTime(varval) pb.Ctime = timestamppb.New(t) case "Build-Date": + t, err := cobol.GetTime(varval) + if err == nil { + pb.BuildDate = timestamppb.New(t) + } else { + if config.Verbose() { + log.Info("FIXME: Package-Build-Date", varval, err) + } + } case "Package-Build-Date": t, err := cobol.GetTime(varval) if err == nil { -- cgit v1.2.3