Paul-DS / bootstrap-year-calendar

[DEPRECATED] A fully customizable year calendar widget, for boostrap !
Apache License 2.0
293 stars 243 forks source link

BUG #142

Open renatoosaka opened 7 years ago

renatoosaka commented 7 years ago

Good afternoon, I think it has a bug in the calendar, see the month of October of the year 2016, there are only 30 days where the correct one would be to have 31 days.

http://prntscr.com/fc2olm

Thanks

renatoosaka commented 7 years ago

After line 294 i put this code and fix it

currentDate.setHours(0); currentDate.setMinutes(0); currentDate.setSeconds(0);

William-H-M commented 7 years ago

Hi, this is an error from the JavaScript date and mainly depending on your timezone, (that's taken from the browser) this is more or less duplicate of #54 and is related with #109

I'll try to test it out with GMT - 3 (brazilian time), GMT + 2 and not sure if there's any onother timezone with this same problem.

NOTE: Please change the tittle to something more specific "BUG" is to broad for someone that is looking for the same issue as you