timrwood/moment — Issue #92: diff is calculating wrong when I use 24 hours
Author: Harlley
Created: 2011-12-09 12:36:08+00:00
State: open

var end = moment("11:00", "HH:mm");
var start = moment("08:00", "HH:mm");
end.diff(start, "hours") // it returns 3, so that's OK

var end = moment("12:00", "HH:mm");
var start = moment("08:00", "HH:mm");
end.diff(start, "hours") // it returns -8 instead of 4