summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 05:00:13 -0500
committerJeff Carr <[email protected]>2025-10-14 05:00:13 -0500
commita85d8ee85f34b55fdab3013f938ae490b965f875 (patch)
tree0dfce20fcfa40aa649d53ac06fdb3c353ce71f22
parent7131654e4c40604b20100faf9d55803c7ffe190e (diff)
more time stuff
-rw-r--r--parseDpkgOutputIntoPB.go8
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 {