owenmead / Pikaday

A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS
Other
153 stars 73 forks source link

Wrong days - today is Thursday, not Friday #62

Open Asphiii opened 4 years ago

Asphiii commented 4 years ago

issue with calendar

Today(16.04.2020) we have thurdsay, not friday

ElionTDA commented 4 years ago

I think, ur fail is the array of traductions: weekdays : ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],

You must to start on Sunday, and determine the first day with: firstDay: 1, // If your first week day is Monday. I hope it help u.