diff options
| -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 { |
