From bdf464edb1e70742c55cf5383341eaefcf5f4e5a Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 21 Oct 2012 10:01:01 -0400 Subject: [PATCH] Fix warnings in man files generated by ronn --- lib/ronn/roff.rb | 2 +- lib/ronn/template.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ronn/roff.rb b/lib/ronn/roff.rb index c5d863b..640ac11 100644 --- a/lib/ronn/roff.rb +++ b/lib/ronn/roff.rb @@ -33,7 +33,7 @@ def title_heading(name, section, tagline, manual, version, date) comment "generated with Ronn/v#{Ronn.version}" comment "http://github.com/rtomayko/ronn/tree/#{Ronn.revision}" return if name.nil? - macro "TH", %["#{escape(name.upcase)}" "#{section}" "#{date.strftime('%B %Y')}" "#{version}" "#{manual}"] + macro "TH", %["#{escape(name.upcase)}" "#{section}" "#{date.strftime('%B %d %Y')}" "#{version}" "#{manual}"] end def remove_extraneous_elements!(doc) diff --git a/lib/ronn/template.rb b/lib/ronn/template.rb index 2c89667..083ec67 100644 --- a/lib/ronn/template.rb +++ b/lib/ronn/template.rb @@ -67,7 +67,7 @@ def organization end def date - @document.date.strftime('%B %Y') + @document.date.strftime('%B %d %Y') end def wrap_class_name