Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ronn/roff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/ronn/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down