fixing am pm bug when displaying the time