add am/pm in view