timrwood/moment — pull request #875 by goochrules (2013-07-03 20:39:08+00:00)
Title: added hour-fraction option to #diff

I needed to calculate the difference between two moment objects as hours & tenths of an hour (i.e. 3:14 --> 3.2). I added a new option to the #diff function 'hour-decimal' which assumes / forces float representation, then performs the calculation as desired.