lib/edtf/humanize/language/italian.rb in edtf-humanize-2.1.0 vs lib/edtf/humanize/language/italian.rb in edtf-humanize-2.2.0
- old
+ new
@@ -9,12 +9,12 @@
module Century
extend self
def humanizer(date)
require 'roman'
- "#{(date.year.abs / 100 + 1).to_roman}" \
- "#{century_number_suffix}" \
- "#{century_sign_suffix(date)}"
+ "#{((date.year.abs / 100) + 1).to_roman}" \
+ "#{century_number_suffix}" \
+ "#{century_sign_suffix(date)}"
end
private
def century_number_suffix