timrwood/moment — Issue #109: moment().date() should be zero-indexed
Author: shuw
Created: 2011-12-19 00:32:45+00:00
State: open

Documentation on http://momentjs.com/docs/#/display/month implies that date() is zero-indexed. However, it is not.

moment().date(); // get the date (0 - 31)

day(), year(), month() are all zero-indexed.

If today is Jan, 1:

moment().month() // returns 0
moment().date() // returns 1