From ec3c9b9d7f5e015028abdb7109028a5d4d12398c Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Wed, 7 Apr 2021 13:50:45 -0700 Subject: [PATCH] bottle: Set date to the mtime of the bottle file --- Library/Homebrew/dev-cmd/bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index d971cca998..bc2ec1b887 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -541,7 +541,7 @@ module Homebrew "prefix" => bottle.prefix, "cellar" => bottle.cellar.to_s, "rebuild" => bottle.rebuild, - "date" => Time.now.strftime("%F"), + "date" => f.local_bottle_path.mtime.strftime("%F"), "tags" => { bottle_tag.to_s => { "filename" => filename.bintray,