Fixed am/pm issue

Now correctly displays AM and PM