This is my settings, it was already default.
Maybe this site will help if that's not working.
http://php.net/manual/en/function.date.php
You might have the H capitalized in your settings, that would make it 24 hour
Or in the case that you're wanting, you might have a capital G rather than lower case g. For 12 hours without the leading 0