adjusts am/pm style