import humanWeekDay from './humanWeekDay';

export default function($index) {
  let today = new Date().getDay();
  let day = today + $index / 2;
  let night = day != day.toFixed();
  let weekDay = night ? 'noc' : humanWeekDay(day);

  return weekDay;
}

@@ -178,23 +178,51 @@
 ();%0A
+%0A
   
-let weekDay =
+day = day %3E 7 ? day - 7 : day;%0A%0A  return
  nig
@@ -256,26 +256,7 @@
 ay);
-%0A%0A  return weekDay;
 %0A%7D%0A

fix blank forecast icons weekDay