-
Committer:
faldridge
-
Date:
2009-11-16 19:09:42 UTC
-
Revision ID:
svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:17834
Added an optional precision argument to Epsilon.extime.Time.asHumanly.
Author: faldridge
Reviewer: exarkun
Fixes #2910
The new optional precision argument to Epsilon.extime.Time.asHumanly specifies
the smallest unit of time that will be represented in the human-readable
time string that the method returns. Acceptable values are
Time.Precision.MINUTES, the default, and Time.Precision.SECONDS. Passing
any other value for precision to asHumanly will raise an InvalidPrecision
exception.