Permalink
Browse files

'pt' is ambiguous and can represent either a point or a pint.

Fixes #35
  • Loading branch information...
olbrich committed Feb 2, 2012
1 parent 431dcab commit 8a103e4979b5ba0f09501c0b805210d55b521446
Showing with 4 additions and 2 deletions.
  1. +2 −0 CHANGELOG.txt
  2. +2 −2 lib/ruby_units/unit_definitions/standard.rb
View
@@ -1,5 +1,7 @@
Change Log for Ruby-units
=========================
+2012-02-01 * Fix issue #34 -- Time.at takes more than one parameter
+ * Fix issue #35 -- 'pt' is ambiguous
2012-01-02 1.4.0 * Fix some definitions that were just wrong (amu, dalton)
* Definition uses name of unit if no aliases provided
* Refactor definition process. New units are immediately available
@@ -71,11 +71,11 @@
Unit.define('point') do |point|
point.definition = Unit('1/72 ft')
- point.aliases = %w{pt point points}
+ point.aliases = %w{point points}
end
Unit.define('pica') do |pica|
- pica.definition = Unit('12 pt')
+ pica.definition = Unit('12 point')
pica.aliases = %w{P pica picas}
end

0 comments on commit 8a103e4

Please sign in to comment.