Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #101: Draft for precision-based calculator #1

Closed
wants to merge 5 commits into from

Commits on Mar 29, 2014

  1. Added the concept of DOTIW calculator which will make the Date.Humani…

    …ze() method very compact & also give us chance to introduce a new way of calculation, precision-based calculation. By this we can have a non-breaking change since that it's optional to choose between the default (old) calculator & the precision-based (new) calculator. Also It'll be open for everyone to have his own calculation if there's a special need.
    wahidshalaly committed Mar 29, 2014
    Configuration menu
    Copy the full SHA
    13da3eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b206a45 View commit details
    Browse the repository at this point in the history
  3. Implemented precision-based distance of time in words

    Duplicated DateHumanizeTests, as PrecisionBasedDistanceOfTimeTests, to examine compatibility with previous calculation method.
    Minor refactor: replaced Dotiw by DistanceOfTime in namespaces & types.
    wahidshalaly committed Mar 29, 2014
    Configuration menu
    Copy the full SHA
    6366248 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fde89cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54d6b76 View commit details
    Browse the repository at this point in the history