From 672b8c036de55fe658ce7ed7f93bd2d251040e00 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sun, 5 Feb 2023 16:07:00 +0100 Subject: [PATCH] Fix error when showing `brew config` JSON update time --- Library/Homebrew/system_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/system_config.rb b/Library/Homebrew/system_config.rb index 9f1d969ca5..dd6e9e9f05 100644 --- a/Library/Homebrew/system_config.rb +++ b/Library/Homebrew/system_config.rb @@ -148,7 +148,7 @@ module SystemConfig end if (formula_json = Homebrew::API::HOMEBREW_CACHE_API/"formula.json") && formula_json.exist? - f.puts "Core tap JSON: #{formula_json.mtime.to_s(:short)}" + f.puts "Core tap JSON: #{formula_json.mtime.utc.strftime("%d %b %H:%M UTC")}" elsif !CoreTap.instance.installed? f.puts "Core tap: N/A" end