timrwood/moment — pull request #504 by petedmarsh (2012-11-09 11:37:07+00:00)
Title: Convenience methods for determining if a moment is in the past/future

Just a couple of simple wrappers around ```diff()``` which let you determine if a moment is in the past or future of another moment, i.e. you can do this:

```javascript
past = moment();
// .. sleep
future = moment();

past.isPast(future) // true
future.isFuture(past)

```

I've seen the change to diff in https://github.com/timrwood/moment/pull/345/ which returns a```duration``, so I know that this implementation will have to change slightly when that branch gets integrated. I'm really happy to make those changes when you integrate that branch and if you want these new methods! :)