brunofacca / zen-rails-base-app

Base application for Ruby on Rails 6 projects. Built to minimize the time spent writing boilerplate code and performing repetitive setup tasks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date#getDate starts at 1

bbenezech opened this issue · comments

var day = date.getDate() + 1;

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.