Date#getDate starts at 1
bbenezech opened this issue · comments
d = new Date()
>> Tue Aug 29 2017 16:31:22 GMT+0200 (CEST)
d.getDate()
>> 29
You are correct about months, though.
I'm glad you have noticed it. Thank you.
Base application for Ruby on Rails 6 projects. Built to minimize the time spent writing boilerplate code and performing repetitive setup tasks.
bbenezech opened this issue · comments
d = new Date()
>> Tue Aug 29 2017 16:31:22 GMT+0200 (CEST)
d.getDate()
>> 29
You are correct about months, though.
I'm glad you have noticed it. Thank you.