March 14, 2011
2:31 p.m.
Comment #11 on issue 3806 by ryd...@gmail.com: Duration>>hours is broken http://code.google.com/p/pharo/issues/detail?id=3806 My 2c: I agree with cesar: - Keep ANSI compliancy for #hours. - Add #asHours, doing what OP expected. - Explain the difference in comments, so noone thinks the implementer didn't know what he was doing :) #asSeconds is already ANSI, though the draft of the standard I have states it should include fractional parts. I suppose nanos instvar was added after the method was written, either way it should be extended to reflect the current situation. I suggest implementing #asHours and #asMinutes including fractions too, to keep it consistent.