moment/moment — pull request #2011 by julioolvr (2014-10-26 23:37:13+00:00)
Title: Quarter diff

Possible fix for #1991. ALTHOUGH, this is the most naive solution for a quarter diff. But I think there are two ways to do a "quarter diff" that make sense.

* Two dates are a quarter apart if they're four months apart (the one implemented in this PR).
* Two dates are a quarter apart if they're in different quarters (e.g. March 31st and April 1st are one quarter apart since they are on the first and second quarters of the year). This one is probably marginally more complex to implement, and also wouldn't have a sensible result when the third parameter for `diff` is `true`.