const hours = [];
for (let i = 0; i < 24; i++) {
  hours.push(i);
}

export default hours;

const hours = [];
for (let i = 0; i < 24; i++) {
  if (i < 10) {
    hours.push(`0${i}`);
  } else {
    hours.push(`${i}`);
  }
}

export default hours;

Use more human-friendly hour strings
Use more human-friendly hour strings

Still only 24h clock, but I'll get to am/pm later.
