Fixed bad variable reference within onDayOfWeek().
Merge pull request #3 from fisherinnovation/patch-1

Fixed bad variable reference within onDayOfWeek().