Fix format of am/pm.
Fixes #30