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 #114

Closed
wants to merge 6 commits into from

Commits on Mar 31, 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 31, 2014
    Configuration menu
    Copy the full SHA
    03d130a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb7ab0a 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 31, 2014
    Configuration menu
    Copy the full SHA
    c4c6a9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4cfe4b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de165c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ced243f View commit details
    Browse the repository at this point in the history