diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 05:00:13 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 05:00:13 -0500 |
| commit | a85d8ee85f34b55fdab3013f938ae490b965f875 (patch) | |
| tree | 0dfce20fcfa40aa649d53ac06fdb3c353ce71f22 | |
| parent | 7131654e4c40604b20100faf9d55803c7ffe190e (diff) | |
more time stuff
| -rw-r--r-- | parseDpkgOutputIntoPB.go | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |
