timrwood/underscore.date — Issue #23: Add sugar for add / substract like datejs
Author: dmmalam
Created: 2011-10-13 20:43:51+00:00
State: open

For example

instead of
_date.add( { d:3 } )

we could write

_date.addDays(3)

Same again for hours/weeks etc

Also should be chainable, so
_date.addWeeks(1).subtractDays(2)

This really increases readability in complex date manipulation.