kensnyder/date-prototype — comment on commit 6071ab9f4e9fa4a542611c8b09b10eb726cf2592
File: src/Date.js line 154
By nilsen31:

this method brings back wrong results:

Sat Mar 31 2012 00:00:00 GMT+0200 (CEST) ---diff---- Thu Mar 01 2012 00:00:00 GMT+0100 (CET) , "days", false = 29 which should be 30!!!

i have refactored this method to return (allowDecimal ? unitDiff : Math.ceil(unitDiff)));
because of this rounding error..