diff --git a/cmd/fdroidcl/show.go b/cmd/fdroidcl/show.go index c062cbe..3e5aaed 100644 --- a/cmd/fdroidcl/show.go +++ b/cmd/fdroidcl/show.go @@ -67,6 +67,8 @@ func printAppDetailed(app fdroidcl.App) { p("Package :", "%s", app.ID) p("Name :", "%s", app.Name) p("Summary :", "%s", app.Summary) + p("Added :", "%s", app.Added.String()) + p("Last Updated :", "%s", app.Updated.String()) cur := app.CurApk() if cur != nil { p("Current Version :", "%s (%d)", cur.VName, cur.VCode) diff --git a/index.go b/index.go index 858dffa..7b62ec7 100644 --- a/index.go +++ b/index.go @@ -31,6 +31,8 @@ type App struct { ID string `xml:"id"` Name string `xml:"name"` Summary string `xml:"summary"` + Added DateVal `xml:"added"` + Updated DateVal `xml:"lastupdated"` Icon string `xml:"icon"` Desc string `xml:"desc"` License string `xml:"license"`