i use function render: with data (contents object with days, daysOfTheWeek etc) and try to set this object in localStorage.
All is fine when i return to page with calendar and get month with localStorage, but if u click to the next / prev month u will start from the current month (current is May right now), but in logic if i stay for example on december - next is janury (not May)
i use function render: with data (contents object with days, daysOfTheWeek etc) and try to set this object in localStorage. All is fine when i return to page with calendar and get month with localStorage, but if u click to the next / prev month u will start from the current month (current is May right now), but in logic if i stay for example on december - next is janury (not May)
Maybe some one use something else with history?