add installed time to git info --json output

This commit is contained in:
Jack Haden-Enneking 2022-09-27 22:43:43 -07:00
parent 76b87c4a00
commit c01731a1f5

View File

@ -2130,6 +2130,7 @@ class Formula
"used_options" => tab.used_options.as_flags,
"built_as_bottle" => tab.built_as_bottle,
"poured_from_bottle" => tab.poured_from_bottle,
"time" => Time.at(tab.time).strftime("%Y-%m-%d %H:%M:%S"),
"runtime_dependencies" => tab.runtime_dependencies,
"installed_as_dependency" => tab.installed_as_dependency,
"installed_on_request" => tab.installed_on_request,