lib/units.rb in ruby-units-0.2.2 vs lib/units.rb in ruby-units-0.2.3
- old
+ new
@@ -99,13 +99,13 @@
'<temp-R>' => [%w{tempR}, 1.0, :temperature, %w{<kelvin>}],
#time
'<second>'=> [%w{s sec second seconds}, 1.0, :time, %w{<second>}],
'<minute>'=> [%w{min minute minutes}, 60.0, :time, %w{<second>}],
- '<hour>'=> [%w{h hour hours}, 3600.0, :time, %w{<second>}],
+ '<hour>'=> [%w{h hr hrs hour hours}, 3600.0, :time, %w{<second>}],
'<day>'=> [%w{d day days}, 3600*24, :time, %w{<second>}],
'<week>'=> [%w{wk week weeks}, 7*3600*24, :time, %w{<second>}],
- '<fortnight>'=> [%w{fortnight}, 1209600, :time, %W{<second>}],
+ '<fortnight>'=> [%w{fortnight fortnights}, 1209600, :time, %W{<second>}],
'<year>'=> [%w{y yr year years annum}, 31556926, :time, %w{<second>}],
'<decade>'=>[%w{decade decades}, 315569260, :time, %w{<second>}],
'<century>'=>[%w{century centuries}, 3155692600, :time, %w{<second>}],
#pressure
\ No newline at end of file