function updateHours(hours, changeHour) {
  if (changeHour) {
    --hours;
  }

  return hours;
}
/**
 * Calculates the next hour to be displayed
 * Hours will be updated every 60 minutes
 * @param {Number} hours - hours to be updated
 * @param {Boolean} changeHour - should hour be updated
 * @return {Number} - next hour
 */
Calculates the next hour to be displayed
Hours will be updated every 60 minutes
@param {Number} hours - hours to be updated
@param {Boolean} changeHour - should hour be updated
@return {Number} - next hour
Calculates the next hour to be displayed Hours will be updated every 60 minutes @param { Number } hours - hours to be updated @param { Boolean } changeHour - should hour be updated @return { Number } - next hour
function updateHours(hours, changeHour) {
  if (changeHour) {
    --hours;
  }
  return hours;
}
function updateHours ( hours , changeHour ) { if ( changeHour ) { -- hours ; } return hours ; }
Calculates the next hour to be displayed
 Hours will be updated every 60 minutes
 @param {Number} hours - hours to be updated
 @param {Boolean} changeHour - should hour be updated
 @return {Number} - next hour
Calculates the next hour to be displayed Hours will be updated every 60 minutes @param { Number } hours - hours to be updated @param { Boolean } changeHour - should hour be updated @return { Number } - next hour