I'm using Date.increment('month') from Mootools More 1.2.2.2 and I just
found it does not work as I expected.To me, add month means the day wont
change. Thus, if you add a month to January 1st 2009, it should return
February 1st 2009. But, if you keep adding 1 month at a time you will find
something like November 30th 2009.

Either there is a bug on the function or is adding 30 days every time,
instead of a month.

I haven't tested for end dates, but I'll understand these are more
complicated.


Whatever is the actual method implemented to increment months, it should be
better explained on the documentation:
http://mootools.net/docs/more/Native/Date



Thanks :)

Reply via email to