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