Fix the logic for checking if morning or afternoon
why can't they just keep to a standard time. ugh.