Project

General

Profile

Bug #13627 ยป 0001-created.rid-use-SOURCE_DATE_EPOCH.patch

possible patch - bmwiedemann (Bernhard M. Wiedemann), 06/03/2017 04:10 AM

View differences:

lib/rdoc/rdoc.rb
def update_output_dir(op_dir, time, last = {})
return if @options.dry_run or not @options.update_output_dir
unless ENV['SOURCE_DATE_EPOCH'].nil?
time = Time.at(ENV['SOURCE_DATE_EPOCH'].to_i).gmtime
end
open output_flag_file(op_dir), "w" do |f|
f.puts time.rfc2822
    (1-1/1)