Skip to content

Commit

Permalink
Merge pull request #338 from bk2204/timestamps
Browse files Browse the repository at this point in the history
Add option to control generation of timestamps
  • Loading branch information
mojavelinux committed Jan 3, 2016
2 parents 8193549 + 75bc358 commit cdbf471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor-pdf/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def build_pdf_info doc
info[:Creator] = str2pdfval %(Asciidoctor PDF #{::Asciidoctor::Pdf::VERSION}, based on Prawn #{::Prawn::VERSION})
info[:Producer] ||= (info[:Author] || info[:Creator])
# FIXME use docdate attribute
info[:ModDate] = info[:CreationDate] = ::Time.now
info[:ModDate] = info[:CreationDate] = ::Time.now unless doc.attr? 'reproducible'
info
end

Expand Down

0 comments on commit cdbf471

Please sign in to comment.