Changed time to 12-format