kashifaltaf / datejs

Automatically exported from code.google.com/p/datejs
Other
0 stars 0 forks source link

.addMonths('6') != .addMonths(6). String problem #192

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Date.now().addMonths(6)
Tue Mar 24 2015

Date.now().addMonths('6')
Wed Mar 24 2021

Original issue reported on code.google.com by Dmitri.B...@gmail.com on 24 Sep 2014 at 4:14