function changeWeek(after = true) {
  let tempDate;
  if (after) {
    tempDate = weekDate.getDate() + 7;
  } else {
    tempDate = weekDate.getDate() - 7;
  }
  // Set the new date
  weekDate.setDate(tempDate);
  selectedYearWeek = getWeekNumber(weekDate);
  // Update Data
  updateWeekNumber();
  updateCalendar();
}
/**
 * Changes calender week
 * @param  {boolean} after true = week in future, false = week in past
 */
Changes calender week
@param  {boolean} after true = week in future, false = week in past
Changes calender week @param { boolean } after true = week in future false = week in past
function changeWeek(after = true) {
  let tempDate;
  if (after) {
    tempDate = weekDate.getDate() + 7;
  } else {
    tempDate = weekDate.getDate() - 7;
  }
  weekDate.setDate(tempDate);
  selectedYearWeek = getWeekNumber(weekDate);
  updateWeekNumber();
  updateCalendar();
}
function changeWeek ( after = true ) { let tempDate ; if ( after ) { tempDate = weekDate . getDate ( ) + 7 ; } else { tempDate = weekDate . getDate ( ) - 7 ; } weekDate . setDate ( tempDate ) ; selectedYearWeek = getWeekNumber ( weekDate ) ; updateWeekNumber ( ) ; updateCalendar ( ) ; }
Changes calender week
 @param  {boolean} after true = week in future, false = week in past
Changes calender week @param { boolean } after true = week in future false = week in past
// Set the new date
 // Update Data
